#2D7415#2D7415
#2D7415 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.144 H 139.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7415 |
|---|---|
| RGB | rgb(45, 116, 21) |
| HSL | hsl(105, 69%, 27%) |
| HSV | hsv(105, 82%, 45%) |
| CMYK | cmyk(61.2%, 0%, 81.9%, 54.5%) |
| CIE-LAB | lab(42.92, -39.85, 42.23) |
| CIE-LCH | lch(42.92, 58.07, 133.34°) |
| OKLab | oklab(49.48% -0.1097 0.094) |
| OKLCH | oklch(49.48% 0.144 139.4) |
| XYZ | xyz(7.4626, 13.1022, 2.8450) |
| Luminance | 0.1310 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.47
Green
#008000
ΔE00 4.88
Dark Grass Green
#388004
ΔE00 4.97
Darkish Green
#287C37
ΔE00 5.67
Darkgreen
#006400
ΔE00 6.04
Forestgreen (CSS)
#228B22
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7415 #5C1574
analogous
#5D7415 #2D7415 #15742D
triadic
#2D7415 #152D74 #74152D
tetradic
#2D7415 #155D74 #5C1574 #742D15
square
#2D7415 #155D74 #5C1574 #742D15
split-complementary
#2D7415 #2D1574 #74155D
monochromatic
#0A1A05 #19400C #2D7415 #41A81E #57D92B
Accessibility & contrast
On white
5.80
#2D7415 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#2D7415 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D7415
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7415 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D7415 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6F6320
Tritanopia (blue-blind)
#257062
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2d7415; /* rgb */ color: rgb(45, 116, 21); /* oklch */ color: oklch(49.5% 0.144 139.4);
Tailwind
colors: {
custom: {
50: '#6f9d5b',
500: '#2d7415',
950: '#000000',
},
}SCSS
$custom: #2d7415; $custom-light: #6f9d5b; $custom-dark: #000000;
JSON
{
"hex": "#2d7415",
"rgb": {
"r": 45,
"g": 116,
"b": 21
},
"hsl": {
"h": 104.842,
"s": 69.343,
"l": 26.863
},
"oklch": {
"l": 0.49476,
"c": 0.14447,
"h": 139.4
},
"luminance": 0.13103
}Semantic roles & 50–950 ramp
primary
#2D7415
secondary
#8E3BAA
accent
#3CECC0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79