#8F7816#8F7816
#8F7816 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.8% C 0.112 H 94.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7816 |
|---|---|
| RGB | rgb(143, 120, 22) |
| HSL | hsl(49, 73%, 32%) |
| HSV | hsv(49, 85%, 56%) |
| CMYK | cmyk(0%, 16.1%, 84.6%, 43.9%) |
| CIE-LAB | lab(51.07, -0.97, 51.86) |
| CIE-LCH | lch(51.07, 51.87, 91.07°) |
| OKLab | oklab(57.79% -0.0088 0.1114) |
| OKLCH | oklch(57.79% 0.112 94.5) |
| XYZ | xyz(18.1900, 19.3316, 3.5322) |
| Luminance | 0.1933 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 0.89
Puke Brown
#947706
ΔE00 2.08
Baby Poop
#937C00
ΔE00 2.33
Poo
#8F7303
ΔE00 2.36
Yellowish Brown
#9B7A01
ΔE00 3.67
Ugly Brown
#7D7103
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7816 #162D8F
analogous
#8F3C16 #8F7816 #6A8F16
triadic
#8F7816 #168F78 #78168F
tetradic
#8F7816 #168F3C #162D8F #8F166A
square
#8F7816 #168F3C #162D8F #8F166A
split-complementary
#8F7816 #166A8F #3C168F
monochromatic
#251F06 #5A4B0E #8F7816 #C4A51E #E1C23E
Accessibility & contrast
On white
4.32
#8F7816 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#8F7816 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7816
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7816 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7816 | 1.00 | 4.32 | 4.87 | 4.87 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#8C7D1D
Tritanopia (blue-blind)
#9B6E66
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8f7816; /* rgb */ color: rgb(143, 120, 22); /* oklch */ color: oklch(57.8% 0.112 94.5);
Tailwind
colors: {
custom: {
50: '#b49e5e',
500: '#8f7816',
950: '#000000',
},
}SCSS
$custom: #8f7816; $custom-light: #b49e5e; $custom-dark: #000000;
JSON
{
"hex": "#8f7816",
"rgb": {
"r": 143,
"g": 120,
"b": 22
},
"hsl": {
"h": 48.595,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.57795,
"c": 0.11177,
"h": 94.5
},
"luminance": 0.19331
}Semantic roles & 50–950 ramp
primary
#8F7816
secondary
#3F58C1
accent
#5BF038
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79