#8E8A26#8E8A26
#8E8A26 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.118 H 107.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8A26 |
|---|---|
| RGB | rgb(142, 138, 38) |
| HSL | hsl(58, 58%, 35%) |
| HSV | hsv(58, 73%, 56%) |
| CMYK | cmyk(0%, 2.8%, 73.2%, 44.3%) |
| CIE-LAB | lab(56.16, -10.71, 50.95) |
| CIE-LCH | lch(56.16, 52.07, 101.87°) |
| OKLab | oklab(61.84% -0.0347 0.1128) |
| OKLCH | oklch(61.84% 0.118 107.1) |
| XYZ | xyz(20.5945, 24.0684, 5.3942) |
| Luminance | 0.2407 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.51
Baby Poop Green
#8F9805
ΔE00 5.86
Pea Soup
#929901
ΔE00 6.06
Baby Shit Green
#889717
ΔE00 6.07
Shit Green
#758000
ΔE00 6.43
Swamp Green
#748500
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8A26 #262A8E
analogous
#8E5626 #8E8A26 #5E8E26
triadic
#8E8A26 #268E8A #8A268E
tetradic
#8E8A26 #268E56 #262A8E #8E265E
square
#8E8A26 #268E56 #262A8E #8E265E
split-complementary
#8E8A26 #265E8E #56268E
monochromatic
#2D2C0C #5E5B19 #8E8A26 #BEB933 #D3CF5B
Accessibility & contrast
On white
3.61
#8E8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#8E8A26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8A26
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8A26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8A26 | 1.00 | 3.61 | 5.81 | 5.81 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968514
Deuteranopia (green-blind)
#98882D
Tritanopia (blue-blind)
#998177
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8e8a26; /* rgb */ color: rgb(142, 138, 38); /* oklch */ color: oklch(61.8% 0.118 107.1);
Tailwind
colors: {
custom: {
50: '#b2ab68',
500: '#8e8a26',
950: '#000000',
},
}SCSS
$custom: #8e8a26; $custom-light: #b2ab68; $custom-dark: #000000;
JSON
{
"hex": "#8e8a26",
"rgb": {
"r": 142,
"g": 138,
"b": 38
},
"hsl": {
"h": 57.692,
"s": 57.778,
"l": 35.294
},
"oklch": {
"l": 0.61836,
"c": 0.11802,
"h": 107.1
},
"luminance": 0.24068
}Semantic roles & 50–950 ramp
primary
#8E8A26
secondary
#585BB8
accent
#4DE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A