#2D7D2E#2D7D2E
#2D7D2E is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.139 H 143.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7D2E |
|---|---|
| RGB | rgb(45, 125, 46) |
| HSL | hsl(121, 47%, 33%) |
| HSV | hsv(121, 64%, 49%) |
| CMYK | cmyk(64%, 0%, 63.2%, 51%) |
| CIE-LAB | lab(46.21, -41.01, 35.20) |
| CIE-LCH | lch(46.21, 54.04, 139.36°) |
| OKLab | oklab(52.26% -0.1113 0.0825) |
| OKLCH | oklch(52.26% 0.139 143.5) |
| XYZ | xyz(8.9084, 15.4215, 5.0914) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.06
Tree Green
#2A7E19
ΔE00 3.05
Green
#008000
ΔE00 4.91
Jungle Green
#048243
ΔE00 5.07
Dark Grass Green
#388004
ΔE00 5.61
Forestgreen (CSS)
#228B22
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7D2E #7D2D7C
analogous
#547D2D #2D7D2E #2D7D56
triadic
#2D7D2E #2E2D7D #7D2E2D
tetradic
#2D7D2E #2D547D #7D2D7C #7D562D
square
#2D7D2E #2D547D #7D2D7C #7D562D
split-complementary
#2D7D2E #562D7D #7D2D54
monochromatic
#0D230D #1D501D #2D7D2E #3DAA3F #5FC560
Accessibility & contrast
On white
5.14
#2D7D2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#2D7D2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D7D2E
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7D2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D7D2E | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807225
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#1D796C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2d7d2e; /* rgb */ color: rgb(45, 125, 46); /* oklch */ color: oklch(52.3% 0.139 143.5);
Tailwind
colors: {
custom: {
50: '#70a36a',
500: '#2d7d2e',
950: '#000000',
},
}SCSS
$custom: #2d7d2e; $custom-light: #70a36a; $custom-dark: #000000;
JSON
{
"hex": "#2d7d2e",
"rgb": {
"r": 45,
"g": 125,
"b": 46
},
"hsl": {
"h": 120.75,
"s": 47.059,
"l": 33.333
},
"oklch": {
"l": 0.52258,
"c": 0.13858,
"h": 143.5
},
"luminance": 0.15422
}Semantic roles & 50–950 ramp
primary
#2D7D2E
secondary
#AC5AAB
accent
#51D5D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A