#8E792A#8E792A
#8E792A is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.100 H 94.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8E792A |
|---|---|
| RGB | rgb(142, 121, 42) |
| HSL | hsl(47, 54%, 36%) |
| HSV | hsv(47, 70%, 56%) |
| CMYK | cmyk(0%, 14.8%, 70.4%, 44.3%) |
| CIE-LAB | lab(51.37, -1.10, 44.53) |
| CIE-LCH | lch(51.37, 44.55, 91.42°) |
| OKLab | oklab(58.05% -0.007 0.1) |
| OKLCH | oklch(58.05% 0.1 94) |
| XYZ | xyz(18.4115, 19.5937, 5.0022) |
| Luminance | 0.1959 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.25
Puke Brown
#947706
ΔE00 3.95
Poo
#8F7303
ΔE00 4.09
Baby Poop
#937C00
ΔE00 4.23
Yellowish Brown
#9B7A01
ΔE00 5.19
Ugly Brown
#7D7103
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E792A #2A3F8E
analogous
#8E472A #8E792A #718E2A
triadic
#8E792A #2A8E79 #792A8E
tetradic
#8E792A #2A8E47 #2A3F8E #8E2A71
square
#8E792A #2A8E47 #2A3F8E #8E2A71
split-complementary
#8E792A #2A718E #472A8E
monochromatic
#30290E #5F511C #8E792A #BDA138 #D1B962
Accessibility & contrast
On white
4.27
#8E792A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#8E792A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E792A
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E792A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E792A | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867720
Deuteranopia (green-blind)
#8B7D2E
Tritanopia (blue-blind)
#996F69
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8e792a; /* rgb */ color: rgb(142, 121, 42); /* oklch */ color: oklch(58.0% 0.100 94.0);
Tailwind
colors: {
custom: {
50: '#b29f68',
500: '#8e792a',
950: '#000000',
},
}SCSS
$custom: #8e792a; $custom-light: #b29f68; $custom-dark: #000000;
JSON
{
"hex": "#8e792a",
"rgb": {
"r": 142,
"g": 121,
"b": 42
},
"hsl": {
"h": 47.4,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.58049,
"c": 0.10023,
"h": 94
},
"luminance": 0.19593
}Semantic roles & 50–950 ramp
primary
#8E792A
secondary
#5D70B6
accent
#69DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A