#2C6515#2C6515
#2C6515 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.1% C 0.126 H 138.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6515 |
|---|---|
| RGB | rgb(44, 101, 21) |
| HSL | hsl(103, 66%, 24%) |
| HSV | hsv(103, 79%, 40%) |
| CMYK | cmyk(56.4%, 0%, 79.2%, 60.4%) |
| CIE-LAB | lab(37.66, -34.12, 37.12) |
| CIE-LCH | lch(37.66, 50.42, 132.58°) |
| OKLab | oklab(45.12% -0.0942 0.0834) |
| OKLCH | oklch(45.12% 0.126 138.5) |
| XYZ | xyz(5.8275, 9.8965, 2.3125) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.46
Deep Green
#02590F
ΔE00 5.26
Forest
#0B5509
ΔE00 5.83
Forest Green
#2D5A27
ΔE00 5.97
Navy Green
#35530A
ΔE00 6.83
Camouflage Green
#4B6113
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6515 #4E1565
analogous
#546515 #2C6515 #156526
triadic
#2C6515 #152C65 #65152C
tetradic
#2C6515 #155465 #4E1565 #652615
square
#2C6515 #155465 #4E1565 #652615
split-complementary
#2C6515 #261565 #651554
monochromatic
#0B1905 #16320A #2C6515 #429820 #58CA2A
Accessibility & contrast
On white
7.05
#2C6515 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#2C6515 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C6515
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6515 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6515 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685C05
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#276156
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2c6515; /* rgb */ color: rgb(44, 101, 21); /* oklch */ color: oklch(45.1% 0.126 138.5);
Tailwind
colors: {
custom: {
50: '#6c9159',
500: '#2c6515',
950: '#000000',
},
}SCSS
$custom: #2c6515; $custom-light: #6c9159; $custom-dark: #000000;
JSON
{
"hex": "#2c6515",
"rgb": {
"r": 44,
"g": 101,
"b": 21
},
"hsl": {
"h": 102.75,
"s": 65.574,
"l": 23.922
},
"oklch": {
"l": 0.45123,
"c": 0.12578,
"h": 138.5
},
"luminance": 0.09897
}Semantic roles & 50–950 ramp
primary
#2C6515
secondary
#803A9C
accent
#3FE9B8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79