#8F781D#8F781D
#8F781D is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.8% C 0.108 H 93.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8F781D |
|---|---|
| RGB | rgb(143, 120, 29) |
| HSL | hsl(48, 66%, 34%) |
| HSV | hsv(48, 80%, 56%) |
| CMYK | cmyk(0%, 16.1%, 79.7%, 43.9%) |
| CIE-LAB | lab(51.11, -0.72, 49.57) |
| CIE-LCH | lch(51.11, 49.57, 90.83°) |
| OKLab | oklab(57.83% -0.0074 0.108) |
| OKLCH | oklch(57.83% 0.108 93.9) |
| XYZ | xyz(18.2670, 19.3624, 3.9373) |
| Luminance | 0.1936 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 0.83
Puke Brown
#947706
ΔE00 2.44
Poo
#8F7303
ΔE00 2.64
Baby Poop
#937C00
ΔE00 2.90
Yellowish Brown
#9B7A01
ΔE00 3.94
Ugly Brown
#7D7103
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F781D #1D348F
analogous
#8F3F1D #8F781D #6D8F1D
triadic
#8F781D #1D8F78 #781D8F
tetradic
#8F781D #1D8F3F #1D348F #8F1D6D
square
#8F781D #1D8F3F #1D348F #8F1D6D
split-complementary
#8F781D #1D6D8F #3F1D8F
monochromatic
#292308 #5C4D13 #8F781D #C2A327 #DBBE4C
Accessibility & contrast
On white
4.31
#8F781D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#8F781D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F781D
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F781D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F781D | 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)
#867609
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#9B6E67
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8f781d; /* rgb */ color: rgb(143, 120, 29); /* oklch */ color: oklch(57.8% 0.108 93.9);
Tailwind
colors: {
custom: {
50: '#b49e61',
500: '#8f781d',
950: '#000000',
},
}SCSS
$custom: #8f781d; $custom-light: #b49e61; $custom-dark: #000000;
JSON
{
"hex": "#8f781d",
"rgb": {
"r": 143,
"g": 120,
"b": 29
},
"hsl": {
"h": 47.895,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.57834,
"c": 0.10826,
"h": 93.9
},
"luminance": 0.19361
}Semantic roles & 50–950 ramp
primary
#8F781D
secondary
#4B62BD
accent
#61E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A