#8F831D#8F831D
#8F831D is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.3% C 0.117 H 102.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8F831D |
|---|---|
| RGB | rgb(143, 131, 29) |
| HSL | hsl(54, 66%, 34%) |
| HSV | hsv(54, 80%, 56%) |
| CMYK | cmyk(0%, 8.4%, 79.7%, 43.9%) |
| CIE-LAB | lab(54.20, -6.84, 52.38) |
| CIE-LCH | lch(54.20, 52.82, 97.45°) |
| OKLab | oklab(60.28% -0.0248 0.114) |
| OKLCH | oklch(60.28% 0.117 102.3) |
| XYZ | xyz(19.6667, 22.1618, 4.4039) |
| Luminance | 0.2216 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.17
Olive
#808000
ΔE00 4.26
Diarrhea
#9F8303
ΔE00 5.34
Hazel
#8E7618
ΔE00 5.73
Puke Brown
#947706
ΔE00 6.40
Yellowish Brown
#9B7A01
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F831D #1D298F
analogous
#8F4A1D #8F831D #628F1D
triadic
#8F831D #1D8F83 #831D8F
tetradic
#8F831D #1D8F4A #1D298F #8F1D62
square
#8F831D #1D8F4A #1D298F #8F1D62
split-complementary
#8F831D #1D628F #4A1D8F
monochromatic
#292608 #5C5413 #8F831D #C2B227 #DBCC4C
Accessibility & contrast
On white
3.87
#8F831D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#8F831D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F831D
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F831D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F831D | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F03
Deuteranopia (green-blind)
#938425
Tritanopia (blue-blind)
#9A7970
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8f831d; /* rgb */ color: rgb(143, 131, 29); /* oklch */ color: oklch(60.3% 0.117 102.3);
Tailwind
colors: {
custom: {
50: '#b3a663',
500: '#8f831d',
950: '#000000',
},
}SCSS
$custom: #8f831d; $custom-light: #b3a663; $custom-dark: #000000;
JSON
{
"hex": "#8f831d",
"rgb": {
"r": 143,
"g": 131,
"b": 29
},
"hsl": {
"h": 53.684,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.60283,
"c": 0.11668,
"h": 102.3
},
"luminance": 0.22161
}Semantic roles & 50–950 ramp
primary
#8F831D
secondary
#4B57BD
accent
#51E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A