#2F7A1A#2F7A1A
#2F7A1A is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.148 H 139.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7A1A |
|---|---|
| RGB | rgb(47, 122, 26) |
| HSL | hsl(107, 65%, 29%) |
| HSV | hsv(107, 79%, 48%) |
| CMYK | cmyk(61.5%, 0%, 78.7%, 52.2%) |
| CIE-LAB | lab(45.08, -41.28, 42.60) |
| CIE-LCH | lch(45.08, 59.32, 134.10°) |
| OKLab | oklab(51.29% -0.1134 0.0955) |
| OKLCH | oklch(51.29% 0.148 139.9) |
| XYZ | xyz(8.3179, 14.5972, 3.3563) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.48
Dark Grass Green
#388004
ΔE00 3.46
Green
#008000
ΔE00 3.49
Darkish Green
#287C37
ΔE00 4.91
Forestgreen (CSS)
#228B22
ΔE00 6.06
Emerald Green
#028F1E
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7A1A #651A7A
analogous
#5F7A1A #2F7A1A #1A7A35
triadic
#2F7A1A #1A2F7A #7A1A2F
tetradic
#2F7A1A #1A5F7A #651A7A #7A351A
square
#2F7A1A #1A5F7A #651A7A #7A351A
split-complementary
#2F7A1A #351A7A #7A1A5F
monochromatic
#0A1905 #1C480F #2F7A1A #42AC25 #5BD539
Accessibility & contrast
On white
5.36
#2F7A1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#2F7A1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7A1A
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7A1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7A1A | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6E05
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#257668
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2f7a1a; /* rgb */ color: rgb(47, 122, 26); /* oklch */ color: oklch(51.3% 0.148 139.9);
Tailwind
colors: {
custom: {
50: '#71a15e',
500: '#2f7a1a',
950: '#000000',
},
}SCSS
$custom: #2f7a1a; $custom-light: #71a15e; $custom-dark: #000000;
JSON
{
"hex": "#2f7a1a",
"rgb": {
"r": 47,
"g": 122,
"b": 26
},
"hsl": {
"h": 106.875,
"s": 64.865,
"l": 29.02
},
"oklch": {
"l": 0.5129,
"c": 0.14825,
"h": 139.9
},
"luminance": 0.14598
}Semantic roles & 50–950 ramp
primary
#2F7A1A
secondary
#9741AE
accent
#40E8C3
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79