#8F7817#8F7817
#8F7817 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.8% C 0.111 H 94.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7817 |
|---|---|
| RGB | rgb(143, 120, 23) |
| HSL | hsl(49, 72%, 33%) |
| HSV | hsv(49, 84%, 56%) |
| CMYK | cmyk(0%, 16.1%, 83.9%, 43.9%) |
| CIE-LAB | lab(51.08, -0.94, 51.55) |
| CIE-LCH | lch(51.08, 51.56, 91.04°) |
| OKLab | oklab(57.8% -0.0086 0.111) |
| OKLCH | oklch(57.8% 0.111 94.5) |
| XYZ | xyz(18.1999, 19.3355, 3.5840) |
| Luminance | 0.1933 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 0.85
Puke Brown
#947706
ΔE00 2.12
Poo
#8F7303
ΔE00 2.39
Baby Poop
#937C00
ΔE00 2.40
Yellowish Brown
#9B7A01
ΔE00 3.70
Ugly Brown
#7D7103
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7817 #172E8F
analogous
#8F3C17 #8F7817 #6A8F17
triadic
#8F7817 #178F78 #78178F
tetradic
#8F7817 #178F3C #172E8F #8F176A
square
#8F7817 #178F3C #172E8F #8F176A
split-complementary
#8F7817 #176A8F #3C178F
monochromatic
#262006 #5A4C0F #8F7817 #C4A41F #E0C240
Accessibility & contrast
On white
4.31
#8F7817 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#8F7817 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7817
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7817 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7817 | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 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)
#8C7D1E
Tritanopia (blue-blind)
#9B6E66
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8f7817; /* rgb */ color: rgb(143, 120, 23); /* oklch */ color: oklch(57.8% 0.111 94.5);
Tailwind
colors: {
custom: {
50: '#b49e5e',
500: '#8f7817',
950: '#000000',
},
}SCSS
$custom: #8f7817; $custom-light: #b49e5e; $custom-dark: #000000;
JSON
{
"hex": "#8f7817",
"rgb": {
"r": 143,
"g": 120,
"b": 23
},
"hsl": {
"h": 48.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.578,
"c": 0.11132,
"h": 94.5
},
"luminance": 0.19334
}Semantic roles & 50–950 ramp
primary
#8F7817
secondary
#415AC1
accent
#5CEF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79