#8E793A#8E793A
#8E793A is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.2% C 0.086 H 91.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8E793A |
|---|---|
| RGB | rgb(142, 121, 58) |
| HSL | hsl(45, 42%, 39%) |
| HSV | hsv(45, 59%, 56%) |
| CMYK | cmyk(0%, 14.8%, 59.2%, 44.3%) |
| CIE-LAB | lab(51.53, 0.01, 37.00) |
| CIE-LCH | lch(51.53, 37.00, 89.98°) |
| OKLab | oklab(58.23% -0.0017 0.0864) |
| OKLCH | oklch(58.23% 0.086 91.1) |
| XYZ | xyz(18.7572, 19.7320, 6.8228) |
| Luminance | 0.1973 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.72
Puke Brown
#947706
ΔE00 6.21
Poo
#8F7303
ΔE00 6.25
Baby Poop
#937C00
ΔE00 6.84
Yellowish Brown
#9B7A01
ΔE00 7.15
Dirt
#8A6E45
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E793A #3A4F8E
analogous
#8E4F3A #8E793A #798E3A
triadic
#8E793A #3A8E79 #793A8E
tetradic
#8E793A #3A8E4F #3A4F8E #8E3A79
square
#8E793A #3A8E4F #3A4F8E #8E3A79
split-complementary
#8E793A #3A798E #4F3A8E
monochromatic
#372F17 #635428 #8E793A #B79D4E #C9B57A
Accessibility & contrast
On white
4.25
#8E793A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#8E793A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E793A
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E793A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E793A | 1.00 | 4.25 | 4.95 | 4.95 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857734
Deuteranopia (green-blind)
#8A7D3D
Tritanopia (blue-blind)
#99706B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8e793a; /* rgb */ color: rgb(142, 121, 58); /* oklch */ color: oklch(58.2% 0.086 91.1);
Tailwind
colors: {
custom: {
50: '#b19f72',
500: '#8e793a',
950: '#000000',
},
}SCSS
$custom: #8e793a; $custom-light: #b19f72; $custom-dark: #000000;
JSON
{
"hex": "#8e793a",
"rgb": {
"r": 142,
"g": 121,
"b": 58
},
"hsl": {
"h": 45,
"s": 42,
"l": 39.216
},
"oklch": {
"l": 0.58225,
"c": 0.08637,
"h": 91.1
},
"luminance": 0.19731
}Semantic roles & 50–950 ramp
primary
#8E793A
secondary
#7282B2
accent
#75D256
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#110E08
muted
#807E7B