#8F7918#8F7918
#8F7918 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.112 H 95.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7918 |
|---|---|
| RGB | rgb(143, 121, 24) |
| HSL | hsl(49, 71%, 33%) |
| HSV | hsv(49, 83%, 56%) |
| CMYK | cmyk(0%, 15.4%, 83.2%, 43.9%) |
| CIE-LAB | lab(51.36, -1.47, 51.49) |
| CIE-LCH | lch(51.36, 51.51, 91.63°) |
| OKLab | oklab(58.03% -0.0101 0.1111) |
| OKLCH | oklch(58.03% 0.112 95.2) |
| XYZ | xyz(18.3310, 19.5814, 3.6780) |
| Luminance | 0.1958 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.27
Baby Poop
#937C00
ΔE00 2.21
Puke Brown
#947706
ΔE00 2.42
Poo
#8F7303
ΔE00 2.82
Yellowish Brown
#9B7A01
ΔE00 3.86
Diarrhea
#9F8303
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7918 #182E8F
analogous
#8F3E18 #8F7918 #698F18
triadic
#8F7918 #188F79 #79188F
tetradic
#8F7918 #188F3E #182E8F #8F1869
square
#8F7918 #188F3E #182E8F #8F1869
split-complementary
#8F7918 #18698F #3E188F
monochromatic
#262006 #5B4D0F #8F7918 #C3A521 #DFC242
Accessibility & contrast
On white
4.27
#8F7918 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#8F7918 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7918
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7918 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7918 | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#8C7D1F
Tritanopia (blue-blind)
#9B6F67
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8f7918; /* rgb */ color: rgb(143, 121, 24); /* oklch */ color: oklch(58.0% 0.112 95.2);
Tailwind
colors: {
custom: {
50: '#b49f5f',
500: '#8f7918',
950: '#000000',
},
}SCSS
$custom: #8f7918; $custom-light: #b49f5f; $custom-dark: #000000;
JSON
{
"hex": "#8f7918",
"rgb": {
"r": 143,
"g": 121,
"b": 24
},
"hsl": {
"h": 48.908,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.58025,
"c": 0.1115,
"h": 95.2
},
"luminance": 0.1958
}Semantic roles & 50–950 ramp
primary
#8F7918
secondary
#435AC0
accent
#5BEE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79