#8E7922#8E7922
#8E7922 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 58.0% C 0.106 H 95.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7922 |
|---|---|
| RGB | rgb(142, 121, 34) |
| HSL | hsl(48, 61%, 35%) |
| HSV | hsv(48, 76%, 56%) |
| CMYK | cmyk(0%, 14.8%, 76.1%, 44.3%) |
| CIE-LAB | lab(51.32, -1.53, 47.84) |
| CIE-LCH | lch(51.32, 47.86, 91.83°) |
| OKLab | oklab(57.98% -0.0091 0.1054) |
| OKLCH | oklch(57.98% 0.106 95) |
| XYZ | xyz(18.2824, 19.5420, 4.3221) |
| Luminance | 0.1954 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.54
Puke Brown
#947706
ΔE00 3.22
Baby Poop
#937C00
ΔE00 3.23
Poo
#8F7303
ΔE00 3.42
Yellowish Brown
#9B7A01
ΔE00 4.59
Ugly Brown
#7D7103
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7922 #22378E
analogous
#8E4322 #8E7922 #6D8E22
triadic
#8E7922 #228E79 #79228E
tetradic
#8E7922 #228E43 #22378E #8E226D
square
#8E7922 #228E43 #22378E #8E226D
split-complementary
#8E7922 #226D8E #43228E
monochromatic
#2B250A #5D4F16 #8E7922 #BFA32E #D6BD54
Accessibility & contrast
On white
4.28
#8E7922 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#8E7922 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7922
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7922 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7922 | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867713
Deuteranopia (green-blind)
#8C7D27
Tritanopia (blue-blind)
#9A6F68
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8e7922; /* rgb */ color: rgb(142, 121, 34); /* oklch */ color: oklch(58.0% 0.106 95.0);
Tailwind
colors: {
custom: {
50: '#b39f64',
500: '#8e7922',
950: '#000000',
},
}SCSS
$custom: #8e7922; $custom-light: #b39f64; $custom-dark: #000000;
JSON
{
"hex": "#8e7922",
"rgb": {
"r": 142,
"g": 121,
"b": 34
},
"hsl": {
"h": 48.333,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.57984,
"c": 0.10582,
"h": 95
},
"luminance": 0.19541
}Semantic roles & 50–950 ramp
primary
#8E7922
secondary
#5266BA
accent
#63E443
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A