#8C831F#8C831F
#8C831F is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.116 H 104.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8C831F |
|---|---|
| RGB | rgb(140, 131, 31) |
| HSL | hsl(55, 64%, 34%) |
| HSV | hsv(55, 78%, 55%) |
| CMYK | cmyk(0%, 6.4%, 77.9%, 45.1%) |
| CIE-LAB | lab(53.93, -8.15, 51.35) |
| CIE-LCH | lch(53.93, 51.99, 99.01°) |
| OKLab | oklab(60.01% -0.0281 0.1124) |
| OKLCH | oklch(60.01% 0.116 104) |
| XYZ | xyz(19.1797, 21.9078, 4.5144) |
| Luminance | 0.2191 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.53
Baby Poop
#937C00
ΔE00 4.99
Hazel
#8E7618
ΔE00 6.26
Shit Green
#758000
ΔE00 6.29
Diarrhea
#9F8303
ΔE00 6.34
Drab
#828344
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C831F #1F288C
analogous
#8C4C1F #8C831F #5E8C1F
triadic
#8C831F #1F8C83 #831F8C
tetradic
#8C831F #1F8C4C #1F288C #8C1F5E
square
#8C831F #1F8C4C #1F288C #8C1F5E
split-complementary
#8C831F #1F5E8C #4C1F8C
monochromatic
#282509 #5A5414 #8C831F #BEB22A #D8CC4E
Accessibility & contrast
On white
3.90
#8C831F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#8C831F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C831F
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C831F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C831F | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E08
Deuteranopia (green-blind)
#928327
Tritanopia (blue-blind)
#977970
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8c831f; /* rgb */ color: rgb(140, 131, 31); /* oklch */ color: oklch(60.0% 0.116 104.0);
Tailwind
colors: {
custom: {
50: '#b1a663',
500: '#8c831f',
950: '#000000',
},
}SCSS
$custom: #8c831f; $custom-light: #b1a663; $custom-dark: #000000;
JSON
{
"hex": "#8c831f",
"rgb": {
"r": 140,
"g": 131,
"b": 31
},
"hsl": {
"h": 55.046,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.60005,
"c": 0.11582,
"h": 104
},
"luminance": 0.21907
}Semantic roles & 50–950 ramp
primary
#8C831F
secondary
#4C55BB
accent
#4FE741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A