#2D7C18#2D7C18
#2D7C18 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.153 H 140.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7C18 |
|---|---|
| RGB | rgb(45, 124, 24) |
| HSL | hsl(107, 68%, 29%) |
| HSV | hsv(107, 81%, 49%) |
| CMYK | cmyk(63.7%, 0%, 80.6%, 51.4%) |
| CIE-LAB | lab(45.69, -42.70, 43.87) |
| CIE-LCH | lch(45.69, 61.22, 134.22°) |
| OKLab | oklab(51.77% -0.1172 0.0979) |
| OKLCH | oklch(51.77% 0.153 140.1) |
| XYZ | xyz(8.4543, 15.0383, 3.3211) |
| Luminance | 0.1504 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.76
Green
#008000
ΔE00 2.85
Dark Grass Green
#388004
ΔE00 2.94
Darkish Green
#287C37
ΔE00 5.11
Forestgreen (CSS)
#228B22
ΔE00 5.36
Emerald Green
#028F1E
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7C18 #67187C
analogous
#5F7C18 #2D7C18 #187C35
triadic
#2D7C18 #182D7C #7C182D
tetradic
#2D7C18 #185F7C #67187C #7C3518
square
#2D7C18 #185F7C #67187C #7C3518
split-complementary
#2D7C18 #35187C #7C185F
monochromatic
#091A05 #1A490E #2D7C18 #40AF22 #58D836
Accessibility & contrast
On white
5.24
#2D7C18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#2D7C18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D7C18
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D7C18 | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#227869
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2d7c18; /* rgb */ color: rgb(45, 124, 24); /* oklch */ color: oklch(51.8% 0.153 140.1);
Tailwind
colors: {
custom: {
50: '#71a35e',
500: '#2d7c18',
950: '#000000',
},
}SCSS
$custom: #2d7c18; $custom-light: #71a35e; $custom-dark: #000000;
JSON
{
"hex": "#2d7c18",
"rgb": {
"r": 45,
"g": 124,
"b": 24
},
"hsl": {
"h": 107.4,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.51772,
"c": 0.15269,
"h": 140.1
},
"luminance": 0.15039
}Semantic roles & 50–950 ramp
primary
#2D7C18
secondary
#993FB1
accent
#3DEAC6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79