#2F7E30#2F7E30
#2F7E30 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.137 H 143.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7E30 |
|---|---|
| RGB | rgb(47, 126, 48) |
| HSL | hsl(121, 46%, 34%) |
| HSV | hsv(121, 63%, 49%) |
| CMYK | cmyk(62.7%, 0%, 61.9%, 50.6%) |
| CIE-LAB | lab(46.63, -40.67, 34.73) |
| CIE-LCH | lch(46.63, 53.48, 139.50°) |
| OKLab | oklab(52.63% -0.1104 0.0817) |
| OKLCH | oklch(52.63% 0.137 143.5) |
| XYZ | xyz(9.1661, 15.7386, 5.3505) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.04
Tree Green
#2A7E19
ΔE00 3.24
Jungle Green
#048243
ΔE00 4.89
Green
#008000
ΔE00 5.10
Forestgreen (CSS)
#228B22
ΔE00 5.42
Dark Grass Green
#388004
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7E30 #7E2F7D
analogous
#567E2F #2F7E30 #2F7E58
triadic
#2F7E30 #302F7E #7E302F
tetradic
#2F7E30 #2F567E #7E2F7D #7E582F
square
#2F7E30 #2F567E #7E2F7D #7E582F
split-complementary
#2F7E30 #582F7E #7E2F56
monochromatic
#0E250E #1E511F #2F7E30 #40AB41 #63C564
Accessibility & contrast
On white
5.06
#2F7E30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#2F7E30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7E30
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7E30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7E30 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817328
Deuteranopia (green-blind)
#776C36
Tritanopia (blue-blind)
#207A6D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2f7e30; /* rgb */ color: rgb(47, 126, 48); /* oklch */ color: oklch(52.6% 0.137 143.5);
Tailwind
colors: {
custom: {
50: '#71a46b',
500: '#2f7e30',
950: '#000000',
},
}SCSS
$custom: #2f7e30; $custom-light: #71a46b; $custom-dark: #000000;
JSON
{
"hex": "#2f7e30",
"rgb": {
"r": 47,
"g": 126,
"b": 48
},
"hsl": {
"h": 120.759,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.52632,
"c": 0.13734,
"h": 143.5
},
"luminance": 0.15739
}Semantic roles & 50–950 ramp
primary
#2F7E30
secondary
#AC5DAB
accent
#52D4D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A