#8D831F#8D831F
#8D831F is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.1% C 0.116 H 103.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #8D831F |
|---|---|
| RGB | rgb(141, 131, 31) |
| HSL | hsl(55, 64%, 34%) |
| HSV | hsv(55, 78%, 55%) |
| CMYK | cmyk(0%, 7.1%, 78%, 44.7%) |
| CIE-LAB | lab(54.02, -7.69, 51.47) |
| CIE-LCH | lch(54.02, 52.04, 98.49°) |
| OKLab | oklab(60.1% -0.0268 0.1126) |
| OKLCH | oklch(60.1% 0.116 103.4) |
| XYZ | xyz(19.3490, 21.9951, 4.5223) |
| Luminance | 0.2199 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.78
Baby Poop
#937C00
ΔE00 4.73
Diarrhea
#9F8303
ΔE00 6.03
Hazel
#8E7618
ΔE00 6.06
Shit Green
#758000
ΔE00 6.59
Ugly Brown
#7D7103
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D831F #1F298D
analogous
#8D4C1F #8D831F #608D1F
triadic
#8D831F #1F8D83 #831F8D
tetradic
#8D831F #1F8D4C #1F298D #8D1F60
square
#8D831F #1F8D4C #1F298D #8D1F60
split-complementary
#8D831F #1F608D #4C1F8D
monochromatic
#292609 #5B5414 #8D831F #BFB22A #D8CC4E
Accessibility & contrast
On white
3.89
#8D831F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#8D831F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D831F
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D831F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D831F | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E08
Deuteranopia (green-blind)
#938327
Tritanopia (blue-blind)
#987970
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8d831f; /* rgb */ color: rgb(141, 131, 31); /* oklch */ color: oklch(60.1% 0.116 103.4);
Tailwind
colors: {
custom: {
50: '#b2a663',
500: '#8d831f',
950: '#000000',
},
}SCSS
$custom: #8d831f; $custom-light: #b2a663; $custom-dark: #000000;
JSON
{
"hex": "#8d831f",
"rgb": {
"r": 141,
"g": 131,
"b": 31
},
"hsl": {
"h": 54.545,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.60101,
"c": 0.11573,
"h": 103.4
},
"luminance": 0.21994
}Semantic roles & 50–950 ramp
primary
#8D831F
secondary
#4D57BB
accent
#50E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A