#2F7D2E#2F7D2E
#2F7D2E is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.138 H 143.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7D2E |
|---|---|
| RGB | rgb(47, 125, 46) |
| HSL | hsl(119, 46%, 34%) |
| HSV | hsv(119, 63%, 49%) |
| CMYK | cmyk(62.4%, 0%, 63.2%, 51%) |
| CIE-LAB | lab(46.27, -40.52, 35.29) |
| CIE-LCH | lch(46.27, 53.73, 138.95°) |
| OKLab | oklab(52.33% -0.1101 0.0827) |
| OKLCH | oklch(52.33% 0.138 143.1) |
| XYZ | xyz(8.9985, 15.4680, 5.0956) |
| Luminance | 0.1547 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.18
Tree Green
#2A7E19
ΔE00 3.00
Green
#008000
ΔE00 4.94
Jungle Green
#048243
ΔE00 5.21
Dark Grass Green
#388004
ΔE00 5.49
Forestgreen (CSS)
#228B22
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7D2E #7C2E7D
analogous
#567D2E #2F7D2E #2E7D54
triadic
#2F7D2E #2E2F7D #7D2E2F
tetradic
#2F7D2E #2E567D #7C2E7D #7D542E
square
#2F7D2E #2E567D #7C2E7D #7D542E
split-complementary
#2F7D2E #542E7D #7D2E56
monochromatic
#0D240D #1E501E #2F7D2E #40AA3E #62C561
Accessibility & contrast
On white
5.13
#2F7D2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#2F7D2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7D2E
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7D2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7D2E | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807225
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#21796C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2f7d2e; /* rgb */ color: rgb(47, 125, 46); /* oklch */ color: oklch(52.3% 0.138 143.1);
Tailwind
colors: {
custom: {
50: '#71a36a',
500: '#2f7d2e',
950: '#000000',
},
}SCSS
$custom: #2f7d2e; $custom-light: #71a36a; $custom-dark: #000000;
JSON
{
"hex": "#2f7d2e",
"rgb": {
"r": 47,
"g": 125,
"b": 46
},
"hsl": {
"h": 119.241,
"s": 46.199,
"l": 33.529
},
"oklch": {
"l": 0.52327,
"c": 0.1377,
"h": 143.1
},
"luminance": 0.15469
}Semantic roles & 50–950 ramp
primary
#2F7D2E
secondary
#AA5BAB
accent
#52D6D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A