#2F7A1E#2F7A1E
#2F7A1E is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.146 H 140.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7A1E |
|---|---|
| RGB | rgb(47, 122, 30) |
| HSL | hsl(109, 61%, 30%) |
| HSV | hsv(109, 75%, 48%) |
| CMYK | cmyk(61.5%, 0%, 75.4%, 52.2%) |
| CIE-LAB | lab(45.10, -40.97, 41.11) |
| CIE-LCH | lch(45.10, 58.04, 134.90°) |
| OKLab | oklab(51.32% -0.1123 0.093) |
| OKLCH | oklch(51.32% 0.146 140.4) |
| XYZ | xyz(8.3658, 14.6164, 3.6084) |
| Luminance | 0.1462 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.62
Green
#008000
ΔE00 3.72
Dark Grass Green
#388004
ΔE00 3.86
Darkish Green
#287C37
ΔE00 4.40
Forestgreen (CSS)
#228B22
ΔE00 6.06
Jungle Green
#048243
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7A1E #691E7A
analogous
#5D7A1E #2F7A1E #1E7A3B
triadic
#2F7A1E #1E2F7A #7A1E2F
tetradic
#2F7A1E #1E5D7A #691E7A #7A3B1E
square
#2F7A1E #1E5D7A #691E7A #7A3B1E
split-complementary
#2F7A1E #3B1E7A #7A1E5D
monochromatic
#091906 #1C4912 #2F7A1E #42AB2A #5CD042
Accessibility & contrast
On white
5.35
#2F7A1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#2F7A1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7A1E
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7A1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7A1E | 1.00 | 5.35 | 3.92 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6F0D
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#257668
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2f7a1e; /* rgb */ color: rgb(47, 122, 30); /* oklch */ color: oklch(51.3% 0.146 140.4);
Tailwind
colors: {
custom: {
50: '#71a160',
500: '#2f7a1e',
950: '#000000',
},
}SCSS
$custom: #2f7a1e; $custom-light: #71a160; $custom-dark: #000000;
JSON
{
"hex": "#2f7a1e",
"rgb": {
"r": 47,
"g": 122,
"b": 30
},
"hsl": {
"h": 108.913,
"s": 60.526,
"l": 29.804
},
"oklch": {
"l": 0.5132,
"c": 0.14581,
"h": 140.4
},
"luminance": 0.14617
}Semantic roles & 50–950 ramp
primary
#2F7A1E
secondary
#9A46AE
accent
#44E4C6
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79