#7E8529#7E8529
#7E8529 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.3% C 0.114 H 113.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7E8529 |
|---|---|
| RGB | rgb(126, 133, 41) |
| HSL | hsl(65, 53%, 34%) |
| HSV | hsv(65, 69%, 52%) |
| CMYK | cmyk(5.3%, 0%, 69.2%, 47.8%) |
| CIE-LAB | lab(53.35, -15.07, 46.52) |
| CIE-LCH | lch(53.35, 48.90, 107.95°) |
| OKLab | oklab(59.27% -0.0457 0.1045) |
| OKLCH | oklch(59.27% 0.114 113.6) |
| XYZ | xyz(17.3924, 21.3711, 5.3062) |
| Luminance | 0.2137 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 3.66
Swamp Green
#748500
ΔE00 3.72
Olive
#808000
ΔE00 4.22
Poop Green
#6F7C00
ΔE00 4.81
Drab
#828344
ΔE00 4.81
Khaki Green
#728639
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E8529 #302985
analogous
#855E29 #7E8529 #508529
triadic
#7E8529 #297E85 #85297E
tetradic
#7E8529 #29855E #302985 #852950
square
#7E8529 #29855E #302985 #852950
split-complementary
#7E8529 #295085 #5E2985
monochromatic
#25270C #52561B #7E8529 #AAB437 #C4CD5C
Accessibility & contrast
On white
3.98
#7E8529 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#7E8529 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E8529
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E8529 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E8529 | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F1B
Deuteranopia (green-blind)
#8F8030
Tritanopia (blue-blind)
#867D73
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #7e8529; /* rgb */ color: rgb(126, 133, 41); /* oklch */ color: oklch(59.3% 0.114 113.6);
Tailwind
colors: {
custom: {
50: '#a6a868',
500: '#7e8529',
950: '#000000',
},
}SCSS
$custom: #7e8529; $custom-light: #a6a868; $custom-dark: #000000;
JSON
{
"hex": "#7e8529",
"rgb": {
"r": 126,
"g": 133,
"b": 41
},
"hsl": {
"h": 64.565,
"s": 52.874,
"l": 34.118
},
"oklch": {
"l": 0.59269,
"c": 0.11406,
"h": 113.6
},
"luminance": 0.21371
}Semantic roles & 50–950 ramp
primary
#7E8529
secondary
#5F58B2
accent
#4CDC57
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A