# #848040 color: Drab

#848040 is rgb(132, 128, 64) in RGB and oklch(58.896% 0.08588 105.534) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #848040 |
| RGB | rgb(132, 128, 64) |
| HSL | hsl(56.47, 34.69%, 38.43%) |
| HSB / HSV | hsv(56.47 51.52% 51.76%) |
| HWB | hwb(56.47 25.1% 48.24%) |
| CMYK | cmyk(0% 3% 52% 48%) |
| Lab | lab(52.86 -5.31 34.89) |
| LCH | lch(52.86 35.29 98.65) |
| OKLab | oklab(58.896% -0.023 0.08275) |
| OKLCH | oklch(58.896% 0.08588 105.534) |
| Display P3 | color(display-p3 0.51491 0.50249 0.28547) |
| Rec. 2020 | color(rec2020 0.45467 0.45117 0.23011) |
| Adobe RGB | color(a98-rgb 0.50903 0.49802 0.27408) |
| ProPhoto RGB | color(prophoto-rgb 0.40964 0.42318 0.2348) |
| Linear sRGB | color(srgb-linear 0.23074 0.21586 0.05127) |
| XYZ D65 | color(xyz-d65 0.1816 0.20714 0.07892) |
| XYZ D50 | color(xyz-d50 0.19109 0.20919 0.06078) |
| SwiftUI | Color(red: 0.518, green: 0.502, blue: 0.251) |
| UIKit | UIColor(red: 0.518, green: 0.502, blue: 0.251, alpha: 1) |
| Flutter / Compose | Color(0xFF848040) |
| Android XML | #848040 |

## 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.08:1
- Contrast with black: 5.14:1

## Tints

#848040, #8f8c54, #9b9866, #a7a579, #b3b18c, #bfbe9f, #cccbb2, #d8d8c5, #e5e5d8, #f2f2eb

## Shades

#848040, #726e36, #605d2d, #4f4d24, #3f3d1b, #2f2e13, #201f0b, #121205, #060601, #010100

## Tones

#848040, #838048, #82804e, #827f55, #817f5b, #807f61, #7f7e67, #7f7e6d, #7e7e72, #7d7d78

## Harmonies

- Complementary: #848040, #7875ae
- Split: #848040, #5a7faf, #916da0
- Analogous: #848040, #9b763f, #668954
- Triadic: #848040, #3b87a4, #a26888
- Tetradic: #848040, #458d71, #7875ae, #a26888
- Square: #848040, #2f8d8d, #7875ae, #aa676c
- Monochromatic: #848040, #413c00, #615d1b, #a8a564, #cecb89

## Questions about #848040

### What color is #848040?

#848040 is soft yellow. The closest named color is Drab. In RGB it is rgb(132, 128, 64), in HSL hsl(56.47, 34.69%, 38.43%) and in OKLCH oklch(58.896% 0.08588 105.534).

### What colors go well with #848040?

The complementary color of #848040 is #7875ae. For a calmer combination use the analogous colors #9b763f and #668954. The triadic partners are #3b87a4 and #a26888.

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

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

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

#848040 is a neutral color. In OKLCH its hue is 106 degrees, its lightness 58.9% and its chroma 0.086.
