#2F7C2E#2F7C2E
#2F7C2E is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.136 H 143.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7C2E |
|---|---|
| RGB | rgb(47, 124, 46) |
| HSL | hsl(119, 46%, 33%) |
| HSV | hsv(119, 63%, 49%) |
| CMYK | cmyk(62.1%, 0%, 62.9%, 51.4%) |
| CIE-LAB | lab(45.93, -40.12, 34.90) |
| CIE-LCH | lch(45.93, 53.17, 138.98°) |
| OKLab | oklab(52.05% -0.109 0.0819) |
| OKLCH | oklch(52.05% 0.136 143.1) |
| XYZ | xyz(8.8726, 15.2161, 5.0537) |
| Luminance | 0.1522 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.06
Tree Green
#2A7E19
ΔE00 3.16
Green
#008000
ΔE00 5.10
Jungle Green
#048243
ΔE00 5.26
Dark Grass Green
#388004
ΔE00 5.67
Forestgreen (CSS)
#228B22
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7C2E #7B2E7C
analogous
#567C2E #2F7C2E #2E7C54
triadic
#2F7C2E #2E2F7C #7C2E2F
tetradic
#2F7C2E #2E567C #7B2E7C #7C542E
square
#2F7C2E #2E567C #7B2E7C #7C542E
split-complementary
#2F7C2E #542E7C #7C2E56
monochromatic
#0D230D #1E4F1D #2F7C2E #40A93F #62C460
Accessibility & contrast
On white
5.19
#2F7C2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#2F7C2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7C2E
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7C2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7C2E | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7125
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#21786B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2f7c2e; /* rgb */ color: rgb(47, 124, 46); /* oklch */ color: oklch(52.0% 0.136 143.1);
Tailwind
colors: {
custom: {
50: '#71a36a',
500: '#2f7c2e',
950: '#000000',
},
}SCSS
$custom: #2f7c2e; $custom-light: #71a36a; $custom-dark: #000000;
JSON
{
"hex": "#2f7c2e",
"rgb": {
"r": 47,
"g": 124,
"b": 46
},
"hsl": {
"h": 119.231,
"s": 45.882,
"l": 33.333
},
"oklch": {
"l": 0.52047,
"c": 0.13634,
"h": 143.1
},
"luminance": 0.15217
}Semantic roles & 50–950 ramp
primary
#2F7C2E
secondary
#AA5BAB
accent
#52D6D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A