#8F7218#8F7218
#8F7218 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.5% C 0.107 H 89.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7218 |
|---|---|
| RGB | rgb(143, 114, 24) |
| HSL | hsl(45, 71%, 33%) |
| HSV | hsv(45, 83%, 56%) |
| CMYK | cmyk(0%, 20.3%, 83.2%, 43.9%) |
| CIE-LAB | lab(49.42, 2.50, 49.79) |
| CIE-LCH | lch(49.42, 49.86, 87.12°) |
| OKLab | oklab(56.5% 0.0012 0.1074) |
| OKLCH | oklch(56.5% 0.107 89.3) |
| XYZ | xyz(17.5110, 17.9414, 3.4047) |
| Luminance | 0.1794 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Poo
#8F7303
ΔE00 1.80
Hazel
#8E7618
ΔE00 2.16
Puke Brown
#947706
ΔE00 2.70
Muddy Brown
#886806
ΔE00 3.79
Yellowish Brown
#9B7A01
ΔE00 4.22
Baby Poop
#937C00
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7218 #18358F
analogous
#8F3618 #8F7218 #708F18
triadic
#8F7218 #188F72 #72188F
tetradic
#8F7218 #188F36 #18358F #8F1870
square
#8F7218 #188F36 #18358F #8F1870
split-complementary
#8F7218 #18708F #36188F
monochromatic
#261E06 #5B480F #8F7218 #C39C21 #DFB942
Accessibility & contrast
On white
4.58
#8F7218 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#8F7218 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7218
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7218 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7218 | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807101
Deuteranopia (green-blind)
#87791E
Tritanopia (blue-blind)
#9C6761
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8f7218; /* rgb */ color: rgb(143, 114, 24); /* oklch */ color: oklch(56.5% 0.107 89.3);
Tailwind
colors: {
custom: {
50: '#b49a5e',
500: '#8f7218',
950: '#000000',
},
}SCSS
$custom: #8f7218; $custom-light: #b49a5e; $custom-dark: #000000;
JSON
{
"hex": "#8f7218",
"rgb": {
"r": 143,
"g": 114,
"b": 24
},
"hsl": {
"h": 45.378,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.56497,
"c": 0.10738,
"h": 89.3
},
"luminance": 0.1794
}Semantic roles & 50–950 ramp
primary
#8F7218
secondary
#4361C0
accent
#66EE3A
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79