#8E791D#8E791D
#8E791D is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.109 H 95.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8E791D |
|---|---|
| RGB | rgb(142, 121, 29) |
| HSL | hsl(49, 66%, 34%) |
| HSV | hsv(49, 80%, 56%) |
| CMYK | cmyk(0%, 14.8%, 79.6%, 44.3%) |
| CIE-LAB | lab(51.28, -1.75, 49.69) |
| CIE-LCH | lch(51.28, 49.72, 92.01°) |
| OKLab | oklab(57.95% -0.0103 0.1083) |
| OKLCH | oklch(57.95% 0.109 95.4) |
| XYZ | xyz(18.2155, 19.5153, 3.9695) |
| Luminance | 0.1951 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.38
Baby Poop
#937C00
ΔE00 2.72
Puke Brown
#947706
ΔE00 2.91
Poo
#8F7303
ΔE00 3.16
Yellowish Brown
#9B7A01
ΔE00 4.34
Ugly Brown
#7D7103
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E791D #1D328E
analogous
#8E411D #8E791D #6A8E1D
triadic
#8E791D #1D8E79 #791D8E
tetradic
#8E791D #1D8E41 #1D328E #8E1D6A
square
#8E791D #1D8E41 #1D328E #8E1D6A
split-complementary
#8E791D #1D6A8E #411D8E
monochromatic
#282208 #5B4E13 #8E791D #C1A427 #DAC04B
Accessibility & contrast
On white
4.28
#8E791D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#8E791D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E791D
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E791D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E791D | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867609
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#9A6F68
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8e791d; /* rgb */ color: rgb(142, 121, 29); /* oklch */ color: oklch(57.9% 0.109 95.4);
Tailwind
colors: {
custom: {
50: '#b39f61',
500: '#8e791d',
950: '#000000',
},
}SCSS
$custom: #8e791d; $custom-light: #b39f61; $custom-dark: #000000;
JSON
{
"hex": "#8e791d",
"rgb": {
"r": 142,
"g": 121,
"b": 29
},
"hsl": {
"h": 48.85,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.57949,
"c": 0.10881,
"h": 95.4
},
"luminance": 0.19514
}Semantic roles & 50–950 ramp
primary
#8E791D
secondary
#4A5FBD
accent
#5EE93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A