#8F7D19#8F7D19
#8F7D19 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.114 H 98.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7D19 |
|---|---|
| RGB | rgb(143, 125, 25) |
| HSL | hsl(51, 70%, 33%) |
| HSV | hsv(51, 83%, 56%) |
| CMYK | cmyk(0%, 12.6%, 82.5%, 43.9%) |
| CIE-LAB | lab(52.48, -3.67, 52.15) |
| CIE-LCH | lch(52.48, 52.28, 94.03°) |
| OKLab | oklab(58.92% -0.0162 0.1127) |
| OKLCH | oklch(58.92% 0.114 98.2) |
| XYZ | xyz(18.8378, 20.5781, 3.8992) |
| Luminance | 0.2058 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.17
Hazel
#8E7618
ΔE00 3.10
Puke Brown
#947706
ΔE00 3.89
Poo
#8F7303
ΔE00 4.54
Diarrhea
#9F8303
ΔE00 4.59
Yellowish Brown
#9B7A01
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7D19 #192B8F
analogous
#8F4219 #8F7D19 #668F19
triadic
#8F7D19 #198F7D #7D198F
tetradic
#8F7D19 #198F42 #192B8F #8F1966
square
#8F7D19 #198F42 #192B8F #8F1966
split-complementary
#8F7D19 #19668F #42198F
monochromatic
#272207 #5B4F10 #8F7D19 #C3AB22 #DEC744
Accessibility & contrast
On white
4.11
#8F7D19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#8F7D19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7D19
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7D19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7D19 | 1.00 | 4.11 | 5.12 | 5.12 |
| #FFFFFF | 4.11 | 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)
#8A7A00
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#9B736B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8f7d19; /* rgb */ color: rgb(143, 125, 25); /* oklch */ color: oklch(58.9% 0.114 98.2);
Tailwind
colors: {
custom: {
50: '#b4a260',
500: '#8f7d19',
950: '#000000',
},
}SCSS
$custom: #8f7d19; $custom-light: #b4a260; $custom-dark: #000000;
JSON
{
"hex": "#8f7d19",
"rgb": {
"r": 143,
"g": 125,
"b": 25
},
"hsl": {
"h": 50.847,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.58916,
"c": 0.11387,
"h": 98.2
},
"luminance": 0.20577
}Semantic roles & 50–950 ramp
primary
#8F7D19
secondary
#4457BF
accent
#56ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120F05
muted
#817E79