#8F7814#8F7814
#8F7814 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.8% C 0.113 H 94.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7814 |
|---|---|
| RGB | rgb(143, 120, 20) |
| HSL | hsl(49, 75%, 32%) |
| HSV | hsv(49, 86%, 56%) |
| CMYK | cmyk(0%, 16.1%, 86%, 43.9%) |
| CIE-LAB | lab(51.06, -1.03, 52.44) |
| CIE-LCH | lch(51.06, 52.45, 91.13°) |
| OKLab | oklab(57.79% -0.0092 0.1123) |
| OKLCH | oklch(57.79% 0.113 94.7) |
| XYZ | xyz(18.1715, 19.3242, 3.4345) |
| Luminance | 0.1932 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 0.99
Puke Brown
#947706
ΔE00 2.02
Baby Poop
#937C00
ΔE00 2.20
Poo
#8F7303
ΔE00 2.32
Yellowish Brown
#9B7A01
ΔE00 3.62
Diarrhea
#9F8303
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7814 #142B8F
analogous
#8F3A14 #8F7814 #698F14
triadic
#8F7814 #148F78 #78148F
tetradic
#8F7814 #148F3A #142B8F #8F1469
square
#8F7814 #148F3A #142B8F #8F1469
split-complementary
#8F7814 #14698F #3A148F
monochromatic
#241E05 #594B0C #8F7814 #C5A51C #E3C43A
Accessibility & contrast
On white
4.32
#8F7814 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#8F7814 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7814
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7814 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7814 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#8C7D1C
Tritanopia (blue-blind)
#9B6D66
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8f7814; /* rgb */ color: rgb(143, 120, 20); /* oklch */ color: oklch(57.8% 0.113 94.7);
Tailwind
colors: {
custom: {
50: '#b49e5d',
500: '#8f7814',
950: '#000000',
},
}SCSS
$custom: #8f7814; $custom-light: #b49e5d; $custom-dark: #000000;
JSON
{
"hex": "#8f7814",
"rgb": {
"r": 143,
"g": 120,
"b": 20
},
"hsl": {
"h": 48.78,
"s": 75.46,
"l": 31.961
},
"oklch": {
"l": 0.57785,
"c": 0.11262,
"h": 94.7
},
"luminance": 0.19323
}Semantic roles & 50–950 ramp
primary
#8F7814
secondary
#3C55C3
accent
#59F236
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79