#2C6215#2C6215
#2C6215 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.3% C 0.122 H 138.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6215 |
|---|---|
| RGB | rgb(44, 98, 21) |
| HSL | hsl(102, 65%, 23%) |
| HSV | hsv(102, 79%, 38%) |
| CMYK | cmyk(55.1%, 0%, 78.6%, 61.6%) |
| CIE-LAB | lab(36.60, -32.85, 36.08) |
| CIE-LCH | lch(36.60, 48.80, 132.32°) |
| OKLab | oklab(44.26% -0.0908 0.0812) |
| OKLCH | oklch(44.26% 0.122 138.2) |
| XYZ | xyz(5.5415, 9.3246, 2.2171) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.74
Deep Green
#02590F
ΔE00 4.65
Forest
#0B5509
ΔE00 5.05
Forest Green
#2D5A27
ΔE00 5.20
Navy Green
#35530A
ΔE00 5.94
Camouflage Green
#4B6113
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6215 #4B1562
analogous
#526215 #2C6215 #156224
triadic
#2C6215 #152C62 #62152C
tetradic
#2C6215 #155262 #4B1562 #622415
square
#2C6215 #155262 #4B1562 #622415
split-complementary
#2C6215 #241562 #621552
monochromatic
#0B1905 #15300A #2C6215 #439420 #59C72B
Accessibility & contrast
On white
7.33
#2C6215 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#2C6215 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C6215
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6215 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6215 | 1.00 | 7.33 | 2.87 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655906
Deuteranopia (green-blind)
#5E541D
Tritanopia (blue-blind)
#285E53
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2c6215; /* rgb */ color: rgb(44, 98, 21); /* oklch */ color: oklch(44.3% 0.122 138.2);
Tailwind
colors: {
custom: {
50: '#6c8f58',
500: '#2c6215',
950: '#000000',
},
}SCSS
$custom: #2c6215; $custom-light: #6c8f58; $custom-dark: #000000;
JSON
{
"hex": "#2c6215",
"rgb": {
"r": 44,
"g": 98,
"b": 21
},
"hsl": {
"h": 102.078,
"s": 64.706,
"l": 23.333
},
"oklch": {
"l": 0.44255,
"c": 0.12178,
"h": 138.2
},
"luminance": 0.09325
}Semantic roles & 50–950 ramp
primary
#2C6215
secondary
#7D3A99
accent
#40E8B6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79