#2F7B1E#2F7B1E
#2F7B1E is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.147 H 140.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7B1E |
|---|---|
| RGB | rgb(47, 123, 30) |
| HSL | hsl(109, 61%, 30%) |
| HSV | hsv(109, 76%, 48%) |
| CMYK | cmyk(61.8%, 0%, 75.6%, 51.8%) |
| CIE-LAB | lab(45.45, -41.35, 41.46) |
| CIE-LCH | lch(45.45, 58.56, 134.93°) |
| OKLab | oklab(51.6% -0.1133 0.0937) |
| OKLCH | oklch(51.6% 0.147 140.4) |
| XYZ | xyz(8.4892, 14.8632, 3.6496) |
| Luminance | 0.1486 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.30
Green
#008000
ΔE00 3.50
Dark Grass Green
#388004
ΔE00 3.62
Darkish Green
#287C37
ΔE00 4.43
Forestgreen (CSS)
#228B22
ΔE00 5.71
Emerald Green
#028F1E
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7B1E #6A1E7B
analogous
#5E7B1E #2F7B1E #1E7B3B
triadic
#2F7B1E #1E2F7B #7B1E2F
tetradic
#2F7B1E #1E5E7B #6A1E7B #7B3B1E
square
#2F7B1E #1E5E7B #6A1E7B #7B3B1E
split-complementary
#2F7B1E #3B1E7B #7B1E5E
monochromatic
#091906 #1C4A12 #2F7B1E #42AC2A #5CD142
Accessibility & contrast
On white
5.29
#2F7B1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#2F7B1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7B1E
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7B1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7B1E | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#257769
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2f7b1e; /* rgb */ color: rgb(47, 123, 30); /* oklch */ color: oklch(51.6% 0.147 140.4);
Tailwind
colors: {
custom: {
50: '#71a260',
500: '#2f7b1e',
950: '#000000',
},
}SCSS
$custom: #2f7b1e; $custom-light: #71a260; $custom-dark: #000000;
JSON
{
"hex": "#2f7b1e",
"rgb": {
"r": 47,
"g": 123,
"b": 30
},
"hsl": {
"h": 109.032,
"s": 60.784,
"l": 30
},
"oklch": {
"l": 0.51603,
"c": 0.14707,
"h": 140.4
},
"luminance": 0.14864
}Semantic roles & 50–950 ramp
primary
#2F7B1E
secondary
#9B46AE
accent
#44E4C7
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79