#7E8A33#7E8A33
#7E8A33 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.6% C 0.112 H 116.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7E8A33 |
|---|---|
| RGB | rgb(126, 138, 51) |
| HSL | hsl(68, 46%, 37%) |
| HSV | hsv(68, 63%, 54%) |
| CMYK | cmyk(8.7%, 0%, 63%, 45.9%) |
| CIE-LAB | lab(54.92, -17.02, 43.80) |
| CIE-LCH | lch(54.92, 46.99, 111.24°) |
| OKLab | oklab(60.55% -0.05 0.1003) |
| OKLCH | oklch(60.55% 0.112 116.5) |
| XYZ | xyz(18.2906, 22.8518, 6.5786) |
| Luminance | 0.2285 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 3.62
Swamp Green
#748500
ΔE00 4.65
Camo
#7F8F4E
ΔE00 4.79
Drab
#828344
ΔE00 4.93
Olivedrab
#6B8E23
ΔE00 5.23
Dark Yellow Green
#728F02
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E8A33 #3F338A
analogous
#8A6B33 #7E8A33 #538A33
triadic
#7E8A33 #337E8A #8A337E
tetradic
#7E8A33 #338A6B #3F338A #8A3353
square
#7E8A33 #338A6B #3F338A #8A3353
split-complementary
#7E8A33 #33538A #6B338A
monochromatic
#2C3112 #555D22 #7E8A33 #A7B744 #BDC96E
Accessibility & contrast
On white
3.77
#7E8A33 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#7E8A33 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E8A33
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E8A33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E8A33 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938329
Deuteranopia (green-blind)
#928439
Tritanopia (blue-blind)
#868378
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #7e8a33; /* rgb */ color: rgb(126, 138, 51); /* oklch */ color: oklch(60.6% 0.112 116.5);
Tailwind
colors: {
custom: {
50: '#a6ac6f',
500: '#7e8a33',
950: '#000000',
},
}SCSS
$custom: #7e8a33; $custom-light: #a6ac6f; $custom-dark: #000000;
JSON
{
"hex": "#7e8a33",
"rgb": {
"r": 126,
"g": 138,
"b": 51
},
"hsl": {
"h": 68.276,
"s": 46.032,
"l": 37.059
},
"oklch": {
"l": 0.60551,
"c": 0.11211,
"h": 116.5
},
"luminance": 0.22852
}Semantic roles & 50–950 ramp
primary
#7E8A33
secondary
#7267B1
accent
#52D664
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A