#8F7815#8F7815
#8F7815 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.8% C 0.112 H 94.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7815 |
|---|---|
| RGB | rgb(143, 120, 21) |
| HSL | hsl(49, 74%, 32%) |
| HSV | hsv(49, 85%, 56%) |
| CMYK | cmyk(0%, 16.1%, 85.3%, 43.9%) |
| CIE-LAB | lab(51.07, -1.00, 52.15) |
| CIE-LCH | lch(51.07, 52.16, 91.10°) |
| OKLab | oklab(57.79% -0.009 0.1118) |
| OKLCH | oklch(57.79% 0.112 94.6) |
| XYZ | xyz(18.1806, 19.3278, 3.4824) |
| Luminance | 0.1933 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 0.94
Puke Brown
#947706
ΔE00 2.05
Baby Poop
#937C00
ΔE00 2.26
Poo
#8F7303
ΔE00 2.34
Yellowish Brown
#9B7A01
ΔE00 3.64
Ugly Brown
#7D7103
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7815 #152C8F
analogous
#8F3B15 #8F7815 #698F15
triadic
#8F7815 #158F78 #78158F
tetradic
#8F7815 #158F3B #152C8F #8F1569
square
#8F7815 #158F3B #152C8F #8F1569
split-complementary
#8F7815 #15698F #3B158F
monochromatic
#241E05 #5A4B0D #8F7815 #C4A51D #E2C33C
Accessibility & contrast
On white
4.32
#8F7815 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#8F7815 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7815
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7815 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7815 | 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)
#9B6D66
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8f7815; /* rgb */ color: rgb(143, 120, 21); /* oklch */ color: oklch(57.8% 0.112 94.6);
Tailwind
colors: {
custom: {
50: '#b49e5e',
500: '#8f7815',
950: '#000000',
},
}SCSS
$custom: #8f7815; $custom-light: #b49e5e; $custom-dark: #000000;
JSON
{
"hex": "#8f7815",
"rgb": {
"r": 143,
"g": 120,
"b": 21
},
"hsl": {
"h": 48.689,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.5779,
"c": 0.1122,
"h": 94.6
},
"luminance": 0.19327
}Semantic roles & 50–950 ramp
primary
#8F7815
secondary
#3E57C2
accent
#5AF137
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79