# #838340 color: Drab

#838340 is rgb(131, 131, 64) in RGB and oklch(59.495% 0.08954 108.838) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #838340 |
| RGB | rgb(131, 131, 64) |
| HSL | hsl(60, 34.36%, 38.24%) |
| HSB / HSV | hsv(60 51.15% 51.37%) |
| HWB | hwb(60 25.1% 48.63%) |
| CMYK | cmyk(0% 0% 51% 49%) |
| Lab | lab(53.63 -7.31 35.75) |
| LCH | lch(53.63 36.49 101.55) |
| OKLab | oklab(59.495% -0.02891 0.08474) |
| OKLCH | oklch(59.495% 0.08954 108.838) |
| Display P3 | color(display-p3 0.51373 0.51373 0.28705) |
| Rec. 2020 | color(rec2020 0.45614 0.46249 0.23208) |
| Adobe RGB | color(a98-rgb 0.50951 0.50951 0.27506) |
| ProPhoto RGB | color(prophoto-rgb 0.41153 0.43339 0.23699) |
| Linear sRGB | color(srgb-linear 0.22697 0.22697 0.05127) |
| XYZ D65 | color(xyz-d65 0.18401 0.21428 0.08017) |
| XYZ D50 | color(xyz-d50 0.19372 0.21632 0.06181) |
| SwiftUI | Color(red: 0.514, green: 0.514, blue: 0.251) |
| UIKit | UIColor(red: 0.514, green: 0.514, blue: 0.251, alpha: 1) |
| Flutter / Compose | Color(0xFF838340) |
| Android XML | #838340 |

## 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: 3.97:1
- Contrast with black: 5.29:1

## Tints

#838340, #8f8f54, #9a9b67, #a6a779, #b2b38c, #bfc09f, #cbccb2, #d8d9c5, #e5e5d8, #f2f2eb

## Shades

#838340, #717136, #60602d, #4f4f24, #3f3f1b, #2f2f13, #20200b, #121205, #060601, #010100

## Tones

#838340, #828348, #82824f, #818256, #81825c, #808162, #808168, #80806e, #7f8074, #7f7f79

## Harmonies

- Complementary: #838340, #7d76b1
- Split: #838340, #5e80b4, #966da1
- Analogous: #838340, #9b783c, #638c57
- Triadic: #838340, #3c89a9, #a76887
- Tetradic: #838340, #3f9075, #7d76b1, #a76887
- Square: #838340, #2a8f93, #7d76b1, #ae686a
- Monochromatic: #838340, #403f00, #61601a, #a7a864, #cdce89

## Questions about #838340

### What color is #838340?

#838340 is soft yellow. The closest named color is Drab. In RGB it is rgb(131, 131, 64), in HSL hsl(60, 34.36%, 38.24%) and in OKLCH oklch(59.495% 0.08954 108.838).

### What colors go well with #838340?

The complementary color of #838340 is #7d76b1. For a calmer combination use the analogous colors #9b783c and #638c57. The triadic partners are #3c89a9 and #a76887.

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

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

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

#838340 is a neutral color. In OKLCH its hue is 109 degrees, its lightness 59.5% and its chroma 0.09.
