#2F7F1E#2F7F1E
#2F7F1E is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.152 H 140.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7F1E |
|---|---|
| RGB | rgb(47, 127, 30) |
| HSL | hsl(109, 62%, 31%) |
| HSV | hsv(109, 76%, 50%) |
| CMYK | cmyk(63%, 0%, 76.4%, 50.2%) |
| CIE-LAB | lab(46.81, -42.88, 42.83) |
| CIE-LCH | lch(46.81, 60.61, 135.03°) |
| OKLab | oklab(52.73% -0.1174 0.0966) |
| OKLCH | oklch(52.73% 0.152 140.6) |
| XYZ | xyz(8.9956, 15.8760, 3.8184) |
| Luminance | 0.1588 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.69
Green
#008000
ΔE00 2.92
Dark Grass Green
#388004
ΔE00 2.93
Forestgreen (CSS)
#228B22
ΔE00 4.31
Darkish Green
#287C37
ΔE00 4.81
Emerald Green
#028F1E
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7F1E #6E1E7F
analogous
#5F7F1E #2F7F1E #1E7F3E
triadic
#2F7F1E #1E2F7F #7F1E2F
tetradic
#2F7F1E #1E5F7F #6E1E7F #7F3E1E
square
#2F7F1E #1E5F7F #6E1E7F #7F3E1E
split-complementary
#2F7F1E #3E1E7F #7F1E5F
monochromatic
#0A1C07 #1D4D12 #2F7F1E #41B12A #5DD344
Accessibility & contrast
On white
5.03
#2F7F1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#2F7F1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7F1E
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7F1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7F1E | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82730B
Deuteranopia (green-blind)
#796C28
Tritanopia (blue-blind)
#237B6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2f7f1e; /* rgb */ color: rgb(47, 127, 30); /* oklch */ color: oklch(52.7% 0.152 140.6);
Tailwind
colors: {
custom: {
50: '#72a561',
500: '#2f7f1e',
950: '#000000',
},
}SCSS
$custom: #2f7f1e; $custom-light: #72a561; $custom-dark: #000000;
JSON
{
"hex": "#2f7f1e",
"rgb": {
"r": 47,
"g": 127,
"b": 30
},
"hsl": {
"h": 109.485,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.52731,
"c": 0.15207,
"h": 140.6
},
"luminance": 0.15877
}Semantic roles & 50–950 ramp
primary
#2F7F1E
secondary
#9F47B2
accent
#43E5C8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79