#8F7F19#8F7F19
#8F7F19 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.4% C 0.115 H 99.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7F19 |
|---|---|
| RGB | rgb(143, 127, 25) |
| HSL | hsl(52, 70%, 33%) |
| HSV | hsv(52, 83%, 56%) |
| CMYK | cmyk(0%, 11.2%, 82.5%, 43.9%) |
| CIE-LAB | lab(53.05, -4.79, 52.65) |
| CIE-LCH | lch(53.05, 52.86, 95.19°) |
| OKLab | oklab(59.36% -0.0193 0.1138) |
| OKLCH | oklch(59.36% 0.115 99.6) |
| XYZ | xyz(19.0935, 21.0895, 3.9845) |
| Luminance | 0.2109 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.65
Hazel
#8E7618
ΔE00 4.01
Diarrhea
#9F8303
ΔE00 4.65
Puke Brown
#947706
ΔE00 4.71
Olive
#808000
ΔE00 5.04
Poo
#8F7303
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7F19 #19298F
analogous
#8F4419 #8F7F19 #648F19
triadic
#8F7F19 #198F7F #7F198F
tetradic
#8F7F19 #198F44 #19298F #8F1964
square
#8F7F19 #198F44 #19298F #8F1964
split-complementary
#8F7F19 #19648F #44198F
monochromatic
#272207 #5B5110 #8F7F19 #C3AD22 #DEC944
Accessibility & contrast
On white
4.02
#8F7F19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#8F7F19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7F19
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7F19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7F19 | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#918121
Tritanopia (blue-blind)
#9B756C
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8f7f19; /* rgb */ color: rgb(143, 127, 25); /* oklch */ color: oklch(59.4% 0.115 99.6);
Tailwind
colors: {
custom: {
50: '#b4a360',
500: '#8f7f19',
950: '#000000',
},
}SCSS
$custom: #8f7f19; $custom-light: #b4a360; $custom-dark: #000000;
JSON
{
"hex": "#8f7f19",
"rgb": {
"r": 143,
"g": 127,
"b": 25
},
"hsl": {
"h": 51.864,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.59363,
"c": 0.1154,
"h": 99.6
},
"luminance": 0.21089
}Semantic roles & 50–950 ramp
primary
#8F7F19
secondary
#4455BF
accent
#53ED3B
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#120F05
muted
#817F79