#8F7819#8F7819
#8F7819 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.8% C 0.110 H 94.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7819 |
|---|---|
| RGB | rgb(143, 120, 25) |
| HSL | hsl(48, 70%, 33%) |
| HSV | hsv(48, 83%, 56%) |
| CMYK | cmyk(0%, 16.1%, 82.5%, 43.9%) |
| CIE-LAB | lab(51.09, -0.87, 50.92) |
| CIE-LCH | lch(51.09, 50.93, 90.98°) |
| OKLab | oklab(57.81% -0.0083 0.1101) |
| OKLCH | oklch(57.81% 0.11 94.3) |
| XYZ | xyz(18.2207, 19.3438, 3.6935) |
| Luminance | 0.1934 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 0.79
Puke Brown
#947706
ΔE00 2.21
Poo
#8F7303
ΔE00 2.45
Baby Poop
#937C00
ΔE00 2.55
Yellowish Brown
#9B7A01
ΔE00 3.77
Ugly Brown
#7D7103
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7819 #19308F
analogous
#8F3D19 #8F7819 #6B8F19
triadic
#8F7819 #198F78 #78198F
tetradic
#8F7819 #198F3D #19308F #8F196B
square
#8F7819 #198F3D #19308F #8F196B
split-complementary
#8F7819 #196B8F #3D198F
monochromatic
#272107 #5B4C10 #8F7819 #C3A422 #DEC044
Accessibility & contrast
On white
4.31
#8F7819 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#8F7819 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7819
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7819 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7819 | 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)
#8C7D20
Tritanopia (blue-blind)
#9B6E66
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8f7819; /* rgb */ color: rgb(143, 120, 25); /* oklch */ color: oklch(57.8% 0.110 94.3);
Tailwind
colors: {
custom: {
50: '#b49e5f',
500: '#8f7819',
950: '#000000',
},
}SCSS
$custom: #8f7819; $custom-light: #b49e5f; $custom-dark: #000000;
JSON
{
"hex": "#8f7819",
"rgb": {
"r": 143,
"g": 120,
"b": 25
},
"hsl": {
"h": 48.305,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.5781,
"c": 0.11036,
"h": 94.3
},
"luminance": 0.19343
}Semantic roles & 50–950 ramp
primary
#8F7819
secondary
#445CBF
accent
#5EED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79