#8F7B19#8F7B19
#8F7B19 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.5% C 0.112 H 96.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7B19 |
|---|---|
| RGB | rgb(143, 123, 25) |
| HSL | hsl(50, 70%, 33%) |
| HSV | hsv(50, 83%, 56%) |
| CMYK | cmyk(0%, 14%, 82.5%, 43.9%) |
| CIE-LAB | lab(51.92, -2.56, 51.66) |
| CIE-LCH | lch(51.92, 51.72, 92.83°) |
| OKLab | oklab(58.47% -0.013 0.1116) |
| OKLCH | oklch(58.47% 0.112 96.7) |
| XYZ | xyz(18.5871, 20.0768, 3.8157) |
| Luminance | 0.2008 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.02
Hazel
#8E7618
ΔE00 2.17
Puke Brown
#947706
ΔE00 3.12
Poo
#8F7303
ΔE00 3.68
Yellowish Brown
#9B7A01
ΔE00 4.30
Diarrhea
#9F8303
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7B19 #192D8F
analogous
#8F4019 #8F7B19 #688F19
triadic
#8F7B19 #198F7B #7B198F
tetradic
#8F7B19 #198F40 #192D8F #8F1968
square
#8F7B19 #198F40 #192D8F #8F1968
split-complementary
#8F7B19 #19688F #40198F
monochromatic
#272107 #5B4E10 #8F7B19 #C3A822 #DEC444
Accessibility & contrast
On white
4.19
#8F7B19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#8F7B19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7B19
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7B19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7B19 | 1.00 | 4.19 | 5.02 | 5.02 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8E7F20
Tritanopia (blue-blind)
#9B7169
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8f7b19; /* rgb */ color: rgb(143, 123, 25); /* oklch */ color: oklch(58.5% 0.112 96.7);
Tailwind
colors: {
custom: {
50: '#b4a060',
500: '#8f7b19',
950: '#000000',
},
}SCSS
$custom: #8f7b19; $custom-light: #b4a060; $custom-dark: #000000;
JSON
{
"hex": "#8f7b19",
"rgb": {
"r": 143,
"g": 123,
"b": 25
},
"hsl": {
"h": 49.831,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.58472,
"c": 0.1124,
"h": 96.7
},
"luminance": 0.20076
}Semantic roles & 50–950 ramp
primary
#8F7B19
secondary
#4459BF
accent
#59ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79