#8F7D1E#8F7D1E
#8F7D1E is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.111 H 97.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7D1E |
|---|---|
| RGB | rgb(143, 125, 30) |
| HSL | hsl(50, 65%, 34%) |
| HSV | hsv(50, 79%, 56%) |
| CMYK | cmyk(0%, 12.6%, 79%, 43.9%) |
| CIE-LAB | lab(52.51, -3.48, 50.50) |
| CIE-LCH | lch(52.51, 50.62, 93.95°) |
| OKLab | oklab(58.95% -0.0152 0.1102) |
| OKLCH | oklch(58.95% 0.111 97.8) |
| XYZ | xyz(18.8966, 20.6016, 4.2092) |
| Luminance | 0.2060 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.53
Hazel
#8E7618
ΔE00 3.02
Puke Brown
#947706
ΔE00 3.99
Poo
#8F7303
ΔE00 4.61
Diarrhea
#9F8303
ΔE00 4.80
Yellowish Brown
#9B7A01
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7D1E #1E308F
analogous
#8F441E #8F7D1E #698F1E
triadic
#8F7D1E #1E8F7D #7D1E8F
tetradic
#8F7D1E #1E8F44 #1E308F #8F1E69
square
#8F7D1E #1E8F44 #1E308F #8F1E69
split-complementary
#8F7D1E #1E698F #441E8F
monochromatic
#2A2509 #5C5113 #8F7D1E #C2A929 #DAC34E
Accessibility & contrast
On white
4.10
#8F7D1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#8F7D1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7D1E
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7D1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7D1E | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A09
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#9B736B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8f7d1e; /* rgb */ color: rgb(143, 125, 30); /* oklch */ color: oklch(58.9% 0.111 97.8);
Tailwind
colors: {
custom: {
50: '#b3a262',
500: '#8f7d1e',
950: '#000000',
},
}SCSS
$custom: #8f7d1e; $custom-light: #b3a262; $custom-dark: #000000;
JSON
{
"hex": "#8f7d1e",
"rgb": {
"r": 143,
"g": 125,
"b": 30
},
"hsl": {
"h": 50.442,
"s": 65.318,
"l": 33.922
},
"oklch": {
"l": 0.58945,
"c": 0.11124,
"h": 97.8
},
"luminance": 0.20601
}Semantic roles & 50–950 ramp
primary
#8F7D1E
secondary
#4C5EBC
accent
#5AE840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A