#2D7D2C#2D7D2C
#2D7D2C is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.140 H 143.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7D2C |
|---|---|
| RGB | rgb(45, 125, 44) |
| HSL | hsl(119, 48%, 33%) |
| HSV | hsv(119, 65%, 49%) |
| CMYK | cmyk(64%, 0%, 64.8%, 51%) |
| CIE-LAB | lab(46.19, -41.25, 36.13) |
| CIE-LCH | lch(46.19, 54.84, 138.78°) |
| OKLab | oklab(52.23% -0.1121 0.0843) |
| OKLCH | oklch(52.23% 0.14 143.1) |
| XYZ | xyz(8.8699, 15.4061, 4.8886) |
| Luminance | 0.1541 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.40
Tree Green
#2A7E19
ΔE00 2.71
Green
#008000
ΔE00 4.61
Dark Grass Green
#388004
ΔE00 5.29
Jungle Green
#048243
ΔE00 5.36
Forestgreen (CSS)
#228B22
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7D2C #7C2C7D
analogous
#557D2C #2D7D2C #2C7D53
triadic
#2D7D2C #2C2D7D #7D2C2D
tetradic
#2D7D2C #2C557D #7C2C7D #7D532C
square
#2D7D2C #2C557D #7C2C7D #7D532C
split-complementary
#2D7D2C #532C7D #7D2C55
monochromatic
#0C220C #1D501C #2D7D2C #3DAA3C #5FC65D
Accessibility & contrast
On white
5.15
#2D7D2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#2D7D2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D7D2C
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7D2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D7D2C | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807223
Deuteranopia (green-blind)
#766B33
Tritanopia (blue-blind)
#1E796C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2d7d2c; /* rgb */ color: rgb(45, 125, 44); /* oklch */ color: oklch(52.2% 0.140 143.1);
Tailwind
colors: {
custom: {
50: '#70a369',
500: '#2d7d2c',
950: '#000000',
},
}SCSS
$custom: #2d7d2c; $custom-light: #70a369; $custom-dark: #000000;
JSON
{
"hex": "#2d7d2c",
"rgb": {
"r": 45,
"g": 125,
"b": 44
},
"hsl": {
"h": 119.259,
"s": 47.929,
"l": 33.137
},
"oklch": {
"l": 0.52234,
"c": 0.14025,
"h": 143.1
},
"luminance": 0.15407
}Semantic roles & 50–950 ramp
primary
#2D7D2C
secondary
#AB59AC
accent
#50D8D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A