#7F9F1D#7F9F1D
#7F9F1D is a light, vivid yellow-green. Relative luminance 0.294; OKLCH L 65.5% C 0.152 H 123.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7F9F1D |
|---|---|
| RGB | rgb(127, 159, 29) |
| HSL | hsl(75, 69%, 37%) |
| HSV | hsv(75, 82%, 62%) |
| CMYK | cmyk(20.1%, 0%, 81.8%, 37.6%) |
| CIE-LAB | lab(61.13, -28.41, 58.12) |
| CIE-LCH | lch(61.13, 64.69, 116.05°) |
| OKLab | oklab(65.53% -0.0835 0.1269) |
| OKLCH | oklch(65.53% 0.152 123.4) |
| XYZ | xyz(21.3726, 29.3969, 5.7103) |
| Luminance | 0.2940 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Ugly Green
#7A9703
ΔE00 2.76
Vomit Green
#89A203
ΔE00 2.93
Avocado Green
#87A922
ΔE00 3.06
Baby Shit Green
#889717
ΔE00 4.12
Pea Green
#8EAB12
ΔE00 4.38
Pea Soup Green
#94A617
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F9F1D #3D1D9F
analogous
#9F7E1D #7F9F1D #3E9F1D
triadic
#7F9F1D #1D7F9F #9F1D7F
tetradic
#7F9F1D #1D9F7E #3D1D9F #9F1D3E
square
#7F9F1D #1D9F7E #3D1D9F #9F1D3E
split-complementary
#7F9F1D #1D3E9F #7E1D9F
monochromatic
#2C370A #566B14 #7F9F1D #A8D326 #BEE056
Accessibility & contrast
On white
3.05
#7F9F1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.88
#7F9F1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F9F1D
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F9F1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F9F1D | 1.00 | 3.05 | 6.88 | 6.88 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A4932B
Tritanopia (blue-blind)
#869788
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #7f9f1d; /* rgb */ color: rgb(127, 159, 29); /* oklch */ color: oklch(65.5% 0.152 123.4);
Tailwind
colors: {
custom: {
50: '#a8bb66',
500: '#7f9f1d',
950: '#000000',
},
}SCSS
$custom: #7f9f1d; $custom-light: #a8bb66; $custom-dark: #000000;
JSON
{
"hex": "#7f9f1d",
"rgb": {
"r": 127,
"g": 159,
"b": 29
},
"hsl": {
"h": 74.769,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.65528,
"c": 0.15192,
"h": 123.4
},
"luminance": 0.29397
}Semantic roles & 50–950 ramp
primary
#7F9F1D
secondary
#7054C4
accent
#3CEC67
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A