# #838240 color: Drab

#838240 is rgb(131, 130, 64) in RGB and oklch(59.264% 0.08833 108.036) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/838240

## Formats

| Format | Value |
| --- | --- |
| HEX | #838240 |
| RGB | rgb(131, 130, 64) |
| HSL | hsl(59.1, 34.36%, 38.24%) |
| HSB / HSV | hsv(59.1 51.15% 51.37%) |
| HWB | hwb(59.1 25.1% 48.63%) |
| CMYK | cmyk(0% 1% 51% 49%) |
| Lab | lab(53.35 -6.79 35.42) |
| LCH | lch(53.35 36.06 100.85) |
| OKLab | oklab(59.264% -0.02735 0.08399) |
| OKLCH | oklch(59.264% 0.08833 108.036) |
| Display P3 | color(display-p3 0.51303 0.50993 0.28648) |
| Rec. 2020 | color(rec2020 0.45473 0.45861 0.23138) |
| Adobe RGB | color(a98-rgb 0.50842 0.50567 0.27473) |
| ProPhoto RGB | color(prophoto-rgb 0.41014 0.42984 0.23622) |
| Linear sRGB | color(srgb-linear 0.22697 0.22323 0.05127) |
| XYZ D65 | color(xyz-d65 0.18267 0.21161 0.07973) |
| XYZ D50 | color(xyz-d50 0.19228 0.21364 0.06144) |
| SwiftUI | Color(red: 0.514, green: 0.51, blue: 0.251) |
| UIKit | UIColor(red: 0.514, green: 0.51, blue: 0.251, alpha: 1) |
| Flutter / Compose | Color(0xFF838240) |
| Android XML | #838240 |

## Facts

- Closest name: Drab
- Hue family: Yellow, soft yellow
- Closest Tailwind class: olive-500
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 4.01:1
- Contrast with black: 5.23:1

## Tints

#838240, #8f8e54, #9a9a67, #a6a679, #b2b38c, #bfbf9f, #cbccb2, #d8d8c5, #e5e5d8, #f2f2eb

## Shades

#838240, #717036, #605f2d, #4f4e24, #3f3e1b, #2f2f13, #20200b, #121205, #060601, #010100

## Tones

#838240, #828248, #82814f, #818155, #81815c, #808062, #808068, #7f7f6e, #7f7f73, #7e7e79

## Harmonies

- Complementary: #838240, #7b75b0
- Split: #838240, #5d7fb2, #946da0
- Analogous: #838240, #9b773d, #638b56
- Triadic: #838240, #3c88a7, #a56887
- Tetradic: #838240, #418f74, #7b75b0, #a56887
- Square: #838240, #2b8e91, #7b75b0, #ac686a
- Monochromatic: #838240, #403e00, #615f1a, #a7a764, #cdcd89

## Questions about #838240

### What color is #838240?

#838240 is soft yellow. The closest named color is Drab. In RGB it is rgb(131, 130, 64), in HSL hsl(59.1, 34.36%, 38.24%) and in OKLCH oklch(59.264% 0.08833 108.036).

### What colors go well with #838240?

The complementary color of #838240 is #7b75b0. For a calmer combination use the analogous colors #9b773d and #638b56. The triadic partners are #3c88a7 and #a56887.

### Is white or black text more readable on #838240?

White text reads better on #838240: white gives a contrast ratio of 4.01:1 and black gives 5.23:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #838240 a warm or cool color?

#838240 is a neutral color. In OKLCH its hue is 108 degrees, its lightness 59.3% and its chroma 0.088.
