#2D7C2E#2D7C2E
#2D7C2E is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.137 H 143.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7C2E |
|---|---|
| RGB | rgb(45, 124, 46) |
| HSL | hsl(121, 47%, 33%) |
| HSV | hsv(121, 64%, 49%) |
| CMYK | cmyk(63.7%, 0%, 62.9%, 51.4%) |
| CIE-LAB | lab(45.87, -40.62, 34.81) |
| CIE-LCH | lch(45.87, 53.49, 139.40°) |
| OKLab | oklab(51.98% -0.1103 0.0817) |
| OKLCH | oklch(51.98% 0.137 143.5) |
| XYZ | xyz(8.7825, 15.1696, 5.0494) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.93
Tree Green
#2A7E19
ΔE00 3.21
Green
#008000
ΔE00 5.08
Jungle Green
#048243
ΔE00 5.12
Dark Grass Green
#388004
ΔE00 5.78
Forestgreen (CSS)
#228B22
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7C2E #7C2D7B
analogous
#537C2D #2D7C2E #2D7C55
triadic
#2D7C2E #2E2D7C #7C2E2D
tetradic
#2D7C2E #2D537C #7C2D7B #7C552D
square
#2D7C2E #2D537C #7C2D7B #7C552D
split-complementary
#2D7C2E #552D7C #7C2D53
monochromatic
#0C220D #1D4F1D #2D7C2E #3DA93F #5FC560
Accessibility & contrast
On white
5.21
#2D7C2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#2D7C2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D7C2E
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7C2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D7C2E | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7126
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#1D796B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2d7c2e; /* rgb */ color: rgb(45, 124, 46); /* oklch */ color: oklch(52.0% 0.137 143.5);
Tailwind
colors: {
custom: {
50: '#70a36a',
500: '#2d7c2e',
950: '#000000',
},
}SCSS
$custom: #2d7c2e; $custom-light: #70a36a; $custom-dark: #000000;
JSON
{
"hex": "#2d7c2e",
"rgb": {
"r": 45,
"g": 124,
"b": 46
},
"hsl": {
"h": 120.759,
"s": 46.746,
"l": 33.137
},
"oklch": {
"l": 0.51977,
"c": 0.13723,
"h": 143.5
},
"luminance": 0.1517
}Semantic roles & 50–950 ramp
primary
#2D7C2E
secondary
#AB5AAA
accent
#51D5D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A