#2D7C1D#2D7C1D
#2D7C1D is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.150 H 140.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7C1D |
|---|---|
| RGB | rgb(45, 124, 29) |
| HSL | hsl(110, 62%, 30%) |
| HSV | hsv(110, 77%, 49%) |
| CMYK | cmyk(63.7%, 0%, 76.6%, 51.4%) |
| CIE-LAB | lab(45.72, -42.33, 42.10) |
| CIE-LCH | lch(45.72, 59.70, 135.16°) |
| OKLab | oklab(51.81% -0.1159 0.0949) |
| OKLCH | oklch(51.81% 0.15 140.7) |
| XYZ | xyz(8.5112, 15.0611, 3.6207) |
| Luminance | 0.1506 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.90
Green
#008000
ΔE00 3.14
Dark Grass Green
#388004
ΔE00 3.43
Darkish Green
#287C37
ΔE00 4.52
Forestgreen (CSS)
#228B22
ΔE00 5.33
Emerald Green
#028F1E
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7C1D #6C1D7C
analogous
#5C7C1D #2D7C1D #1D7C3D
triadic
#2D7C1D #1D2D7C #7C1D2D
tetradic
#2D7C1D #1D5C7C #6C1D7C #7C3D1D
square
#2D7C1D #1D5C7C #6C1D7C #7C3D1D
split-complementary
#2D7C1D #3D1D7C #7C1D5C
monochromatic
#091906 #1B4A11 #2D7C1D #3FAE29 #59D341
Accessibility & contrast
On white
5.23
#2D7C1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#2D7C1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D7C1D
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7C1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D7C1D | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F700A
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#21786A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2d7c1d; /* rgb */ color: rgb(45, 124, 29); /* oklch */ color: oklch(51.8% 0.150 140.7);
Tailwind
colors: {
custom: {
50: '#71a360',
500: '#2d7c1d',
950: '#000000',
},
}SCSS
$custom: #2d7c1d; $custom-light: #71a360; $custom-dark: #000000;
JSON
{
"hex": "#2d7c1d",
"rgb": {
"r": 45,
"g": 124,
"b": 29
},
"hsl": {
"h": 109.895,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.51807,
"c": 0.14982,
"h": 140.7
},
"luminance": 0.15062
}Semantic roles & 50–950 ramp
primary
#2D7C1D
secondary
#9E45B0
accent
#43E5CA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79