#2D7F2E#2D7F2E
#2D7F2E is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.141 H 143.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7F2E |
|---|---|
| RGB | rgb(45, 127, 46) |
| HSL | hsl(121, 48%, 34%) |
| HSV | hsv(121, 65%, 50%) |
| CMYK | cmyk(64.6%, 0%, 63.8%, 50.2%) |
| CIE-LAB | lab(46.89, -41.79, 35.97) |
| CIE-LCH | lch(46.89, 55.14, 139.28°) |
| OKLab | oklab(52.82% -0.1135 0.0842) |
| OKLCH | oklch(52.82% 0.141 143.4) |
| XYZ | xyz(9.1642, 15.9330, 5.1767) |
| Luminance | 0.1593 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.47
Tree Green
#2A7E19
ΔE00 2.86
Green
#008000
ΔE00 4.65
Forestgreen (CSS)
#228B22
ΔE00 4.91
Jungle Green
#048243
ΔE00 5.05
Dark Grass Green
#388004
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7F2E #7F2D7E
analogous
#557F2D #2D7F2E #2D7F57
triadic
#2D7F2E #2E2D7F #7F2E2D
tetradic
#2D7F2E #2D557F #7F2D7E #7F572D
square
#2D7F2E #2D557F #7F2D7E #7F572D
split-complementary
#2D7F2E #572D7F #7F2D55
monochromatic
#0D250D #1D521E #2D7F2E #3DAC3E #60C761
Accessibility & contrast
On white
5.02
#2D7F2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#2D7F2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D7F2E
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D7F2E | 1.00 | 5.02 | 4.19 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827325
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#1C7B6E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2d7f2e; /* rgb */ color: rgb(45, 127, 46); /* oklch */ color: oklch(52.8% 0.141 143.4);
Tailwind
colors: {
custom: {
50: '#70a56a',
500: '#2d7f2e',
950: '#000000',
},
}SCSS
$custom: #2d7f2e; $custom-light: #70a56a; $custom-dark: #000000;
JSON
{
"hex": "#2d7f2e",
"rgb": {
"r": 45,
"g": 127,
"b": 46
},
"hsl": {
"h": 120.732,
"s": 47.674,
"l": 33.725
},
"oklch": {
"l": 0.5282,
"c": 0.14127,
"h": 143.4
},
"luminance": 0.15934
}Semantic roles & 50–950 ramp
primary
#2D7F2E
secondary
#AD5BAC
accent
#51D6D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A