#7E9954#7E9954
#7E9954 is a light, moderate yellow-green. Relative luminance 0.279; OKLCH L 64.6% C 0.100 H 126.5°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7E9954 |
|---|---|
| RGB | rgb(126, 153, 84) |
| HSL | hsl(83, 29%, 46%) |
| HSV | hsv(83, 45%, 60%) |
| CMYK | cmyk(17.6%, 0%, 45.1%, 40%) |
| CIE-LAB | lab(59.76, -21.45, 33.09) |
| CIE-LCH | lch(59.76, 39.44, 122.95°) |
| OKLab | oklab(64.56% -0.0594 0.0802) |
| OKLCH | oklch(64.56% 0.1 126.5) |
| XYZ | xyz(21.5955, 27.8580, 12.6252) |
| Luminance | 0.2786 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Drab Green
#749551
ΔE00 2.24
Moss
#769958
ΔE00 2.27
Moss Green
#8A9A5B
ΔE00 2.93
Camo
#7F8F4E
ΔE00 3.78
Flat Green
#699D4C
ΔE00 4.81
Off Green
#6BA353
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E9954 #6F5499
analogous
#999254 #7E9954 #5C9954
triadic
#7E9954 #547E99 #99547E
tetradic
#7E9954 #549992 #6F5499 #99545C
square
#7E9954 #549992 #6F5499 #99545C
split-complementary
#7E9954 #545C99 #925499
monochromatic
#3D4A29 #5D713E #7E9954 #9CB476 #B8CA9E
Accessibility & contrast
On white
3.20
#7E9954 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#7E9954 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E9954
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E9954 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E9954 | 1.00 | 3.20 | 6.57 | 6.57 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F914E
Deuteranopia (green-blind)
#9C9058
Tritanopia (blue-blind)
#829388
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #7e9954; /* rgb */ color: rgb(126, 153, 84); /* oklch */ color: oklch(64.6% 0.100 126.5);
Tailwind
colors: {
custom: {
50: '#a4b785',
500: '#7e9954',
950: '#000000',
},
}SCSS
$custom: #7e9954; $custom-light: #a4b785; $custom-dark: #000000;
JSON
{
"hex": "#7e9954",
"rgb": {
"r": 126,
"g": 153,
"b": 84
},
"hsl": {
"h": 83.478,
"s": 29.114,
"l": 46.471
},
"oklch": {
"l": 0.64563,
"c": 0.09978,
"h": 126.5
},
"luminance": 0.27858
}Semantic roles & 50–950 ramp
primary
#7E9954
secondary
#A092B7
accent
#62C589
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110B
muted
#7F807C