#2C6517#2C6517
#2C6517 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.1% C 0.124 H 138.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6517 |
|---|---|
| RGB | rgb(44, 101, 23) |
| HSL | hsl(104, 63%, 24%) |
| HSV | hsv(104, 77%, 40%) |
| CMYK | cmyk(56.4%, 0%, 77.2%, 60.4%) |
| CIE-LAB | lab(37.67, -33.96, 36.35) |
| CIE-LCH | lch(37.67, 49.74, 133.05°) |
| OKLab | oklab(45.14% -0.0936 0.0821) |
| OKLCH | oklch(45.14% 0.124 138.8) |
| XYZ | xyz(5.8468, 9.9042, 2.4141) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.54
Deep Green
#02590F
ΔE00 5.18
Forest Green
#2D5A27
ΔE00 5.75
Forest
#0B5509
ΔE00 5.79
Navy Green
#35530A
ΔE00 6.88
Camouflage Green
#4B6113
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6517 #501765
analogous
#536517 #2C6517 #176529
triadic
#2C6517 #172C65 #65172C
tetradic
#2C6517 #175365 #501765 #652917
square
#2C6517 #175365 #501765 #652917
split-complementary
#2C6517 #291765 #651753
monochromatic
#0B1906 #16330C #2C6517 #429722 #57C92E
Accessibility & contrast
On white
7.04
#2C6517 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#2C6517 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C6517
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6517 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6517 | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685C09
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#276156
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2c6517; /* rgb */ color: rgb(44, 101, 23); /* oklch */ color: oklch(45.1% 0.124 138.8);
Tailwind
colors: {
custom: {
50: '#6c915a',
500: '#2c6517',
950: '#000000',
},
}SCSS
$custom: #2c6517; $custom-light: #6c915a; $custom-dark: #000000;
JSON
{
"hex": "#2c6517",
"rgb": {
"r": 44,
"g": 101,
"b": 23
},
"hsl": {
"h": 103.846,
"s": 62.903,
"l": 24.314
},
"oklch": {
"l": 0.45139,
"c": 0.12449,
"h": 138.8
},
"luminance": 0.09905
}Semantic roles & 50–950 ramp
primary
#2C6517
secondary
#823C9B
accent
#42E6BA
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79