#2D6517#2D6517
#2D6517 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.2% C 0.124 H 138.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2D6517 |
|---|---|
| RGB | rgb(45, 101, 23) |
| HSL | hsl(103, 63%, 24%) |
| HSV | hsv(103, 77%, 40%) |
| CMYK | cmyk(55.4%, 0%, 77.2%, 60.4%) |
| CIE-LAB | lab(37.71, -33.65, 36.40) |
| CIE-LCH | lch(37.71, 49.57, 132.75°) |
| OKLab | oklab(45.18% -0.0928 0.0822) |
| OKLCH | oklch(45.18% 0.124 138.5) |
| XYZ | xyz(5.8903, 9.9267, 2.4161) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.65
Deep Green
#02590F
ΔE00 5.28
Forest Green
#2D5A27
ΔE00 5.77
Forest
#0B5509
ΔE00 5.86
Navy Green
#35530A
ΔE00 6.80
Camouflage Green
#4B6113
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D6517 #4F1765
analogous
#546517 #2D6517 #176528
triadic
#2D6517 #172D65 #65172D
tetradic
#2D6517 #175465 #4F1765 #652817
square
#2D6517 #175465 #4F1765 #652817
split-complementary
#2D6517 #281765 #651754
monochromatic
#0B1906 #17330C #2D6517 #439722 #59C92E
Accessibility & contrast
On white
7.03
#2D6517 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#2D6517 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D6517
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D6517 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D6517 | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685C09
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#286156
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2d6517; /* rgb */ color: rgb(45, 101, 23); /* oklch */ color: oklch(45.2% 0.124 138.5);
Tailwind
colors: {
custom: {
50: '#6d915a',
500: '#2d6517',
950: '#000000',
},
}SCSS
$custom: #2d6517; $custom-light: #6d915a; $custom-dark: #000000;
JSON
{
"hex": "#2d6517",
"rgb": {
"r": 45,
"g": 101,
"b": 23
},
"hsl": {
"h": 103.077,
"s": 62.903,
"l": 24.314
},
"oklch": {
"l": 0.45184,
"c": 0.12397,
"h": 138.5
},
"luminance": 0.09927
}Semantic roles & 50–950 ramp
primary
#2D6517
secondary
#813C9B
accent
#42E6B8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79