#2F7D1E#2F7D1E
#2F7D1E is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.150 H 140.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7D1E |
|---|---|
| RGB | rgb(47, 125, 30) |
| HSL | hsl(109, 61%, 30%) |
| HSV | hsv(109, 76%, 49%) |
| CMYK | cmyk(62.4%, 0%, 76%, 51%) |
| CIE-LAB | lab(46.13, -42.12, 42.15) |
| CIE-LCH | lch(46.13, 59.59, 134.98°) |
| OKLab | oklab(52.17% -0.1154 0.0952) |
| OKLCH | oklch(52.17% 0.15 140.5) |
| XYZ | xyz(8.7398, 15.3645, 3.7331) |
| Luminance | 0.1537 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.75
Green
#008000
ΔE00 3.14
Dark Grass Green
#388004
ΔE00 3.21
Darkish Green
#287C37
ΔE00 4.57
Forestgreen (CSS)
#228B22
ΔE00 5.01
Emerald Green
#028F1E
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7D1E #6C1E7D
analogous
#5E7D1E #2F7D1E #1E7D3C
triadic
#2F7D1E #1E2F7D #7D1E2F
tetradic
#2F7D1E #1E5E7D #6C1E7D #7D3C1E
square
#2F7D1E #1E5E7D #6C1E7D #7D3C1E
split-complementary
#2F7D1E #3C1E7D #7D1E5E
monochromatic
#0A1A06 #1C4C12 #2F7D1E #42AE2A #5DD243
Accessibility & contrast
On white
5.16
#2F7D1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#2F7D1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7D1E
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7D1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7D1E | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80710C
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#24796B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2f7d1e; /* rgb */ color: rgb(47, 125, 30); /* oklch */ color: oklch(52.2% 0.150 140.5);
Tailwind
colors: {
custom: {
50: '#72a361',
500: '#2f7d1e',
950: '#000000',
},
}SCSS
$custom: #2f7d1e; $custom-light: #72a361; $custom-dark: #000000;
JSON
{
"hex": "#2f7d1e",
"rgb": {
"r": 47,
"g": 125,
"b": 30
},
"hsl": {
"h": 109.263,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.52168,
"c": 0.14958,
"h": 140.5
},
"luminance": 0.15365
}Semantic roles & 50–950 ramp
primary
#2F7D1E
secondary
#9D46B0
accent
#43E4C8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79