#7F9945#7F9945
#7F9945 is a light, moderate yellow-green. Relative luminance 0.277; OKLCH L 64.4% C 0.115 H 123.9°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7F9945 |
|---|---|
| RGB | rgb(127, 153, 69) |
| HSL | hsl(79, 38%, 44%) |
| HSV | hsv(79, 55%, 60%) |
| CMYK | cmyk(17%, 0%, 54.9%, 40%) |
| CIE-LAB | lab(59.64, -22.72, 40.59) |
| CIE-LCH | lch(59.64, 46.52, 119.23°) |
| OKLab | oklab(64.42% -0.0642 0.0956) |
| OKLCH | oklch(64.42% 0.115 123.9) |
| XYZ | xyz(21.2179, 27.7240, 9.8625) |
| Luminance | 0.2772 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Drab Green
#749551
ΔE00 4.15
Moss Green
#8A9A5B
ΔE00 4.24
Camo
#7F8F4E
ΔE00 4.43
Moss
#769958
ΔE00 4.76
Flat Green
#699D4C
ΔE00 5.53
Olivedrab
#6B8E23
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F9945 #5F4599
analogous
#998945 #7F9945 #559945
triadic
#7F9945 #457F99 #99457F
tetradic
#7F9945 #459989 #5F4599 #994555
square
#7F9945 #459989 #5F4599 #994555
split-complementary
#7F9945 #455599 #894599
monochromatic
#39451F #5C6F32 #7F9945 #9EB963 #B8CC8D
Accessibility & contrast
On white
3.21
#7F9945 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.54
#7F9945 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F9945
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F9945 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F9945 | 1.00 | 3.21 | 6.54 | 6.54 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A1903D
Deuteranopia (green-blind)
#9D8F4A
Tritanopia (blue-blind)
#849286
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #7f9945; /* rgb */ color: rgb(127, 153, 69); /* oklch */ color: oklch(64.4% 0.115 123.9);
Tailwind
colors: {
custom: {
50: '#a6b77b',
500: '#7f9945',
950: '#000000',
},
}SCSS
$custom: #7f9945; $custom-light: #a6b77b; $custom-dark: #000000;
JSON
{
"hex": "#7f9945",
"rgb": {
"r": 127,
"g": 153,
"b": 69
},
"hsl": {
"h": 78.571,
"s": 37.838,
"l": 43.529
},
"oklch": {
"l": 0.64421,
"c": 0.11514,
"h": 123.9
},
"luminance": 0.27724
}Semantic roles & 50–950 ramp
primary
#7F9945
secondary
#9383B7
accent
#5ACE7E
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#101109
muted
#7F807B