#2D7F37#2D7F37
#2D7F37 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.133 H 145.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7F37 |
|---|---|
| RGB | rgb(45, 127, 55) |
| HSL | hsl(127, 48%, 34%) |
| HSV | hsv(127, 65%, 50%) |
| CMYK | cmyk(64.6%, 0%, 56.7%, 50.2%) |
| CIE-LAB | lab(46.99, -40.61, 31.61) |
| CIE-LCH | lch(46.99, 51.46, 142.10°) |
| OKLab | oklab(52.94% -0.1099 0.0755) |
| OKLCH | oklch(52.94% 0.133 145.5) |
| XYZ | xyz(9.3606, 16.0115, 6.2109) |
| Luminance | 0.1601 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.28
Jungle Green
#048243
ΔE00 3.68
Tree Green
#2A7E19
ΔE00 4.50
Forestgreen (CSS)
#228B22
ΔE00 5.90
Green
#008000
ΔE00 6.15
Sea Green
#2E8B57
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7F37 #7F2D75
analogous
#4C7F2D #2D7F37 #2D7F60
triadic
#2D7F37 #372D7F #7F372D
tetradic
#2D7F37 #2D4C7F #7F2D75 #7F602D
square
#2D7F37 #2D4C7F #7F2D75 #7F602D
split-complementary
#2D7F37 #602D7F #7F2D4C
monochromatic
#0D2510 #1D5223 #2D7F37 #3DAC4B #60C76C
Accessibility & contrast
On white
5.00
#2D7F37 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#2D7F37 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D7F37
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7F37 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D7F37 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817430
Deuteranopia (green-blind)
#776D3C
Tritanopia (blue-blind)
#197C6F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2d7f37; /* rgb */ color: rgb(45, 127, 55); /* oklch */ color: oklch(52.9% 0.133 145.5);
Tailwind
colors: {
custom: {
50: '#70a570',
500: '#2d7f37',
950: '#000000',
},
}SCSS
$custom: #2d7f37; $custom-light: #70a570; $custom-dark: #000000;
JSON
{
"hex": "#2d7f37",
"rgb": {
"r": 45,
"g": 127,
"b": 55
},
"hsl": {
"h": 127.317,
"s": 47.674,
"l": 33.725
},
"oklch": {
"l": 0.52938,
"c": 0.13331,
"h": 145.5
},
"luminance": 0.16012
}Semantic roles & 50–950 ramp
primary
#2D7F37
secondary
#AD5BA3
accent
#51C7D7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A