#2C6217#2C6217
#2C6217 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.3% C 0.120 H 138.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6217 |
|---|---|
| RGB | rgb(44, 98, 23) |
| HSL | hsl(103, 62%, 24%) |
| HSV | hsv(103, 77%, 38%) |
| CMYK | cmyk(55.1%, 0%, 76.5%, 61.6%) |
| CIE-LAB | lab(36.62, -32.69, 35.28) |
| CIE-LCH | lch(36.62, 48.10, 132.82°) |
| OKLab | oklab(44.27% -0.0902 0.0798) |
| OKLCH | oklch(44.27% 0.12 138.5) |
| XYZ | xyz(5.5608, 9.3323, 2.3187) |
| Luminance | 0.0933 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.84
Deep Green
#02590F
ΔE00 4.57
Forest Green
#2D5A27
ΔE00 4.94
Forest
#0B5509
ΔE00 5.01
Navy Green
#35530A
ΔE00 6.01
Camouflage Green
#4B6113
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6217 #4D1762
analogous
#516217 #2C6217 #176227
triadic
#2C6217 #172C62 #62172C
tetradic
#2C6217 #175162 #4D1762 #622717
square
#2C6217 #175162 #4D1762 #622717
split-complementary
#2C6217 #271762 #621751
monochromatic
#0B1906 #16300B #2C6217 #429423 #59C52E
Accessibility & contrast
On white
7.33
#2C6217 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#2C6217 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C6217
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6217 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6217 | 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)
#65590A
Deuteranopia (green-blind)
#5E541E
Tritanopia (blue-blind)
#275E53
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2c6217; /* rgb */ color: rgb(44, 98, 23); /* oklch */ color: oklch(44.3% 0.120 138.5);
Tailwind
colors: {
custom: {
50: '#6b8f59',
500: '#2c6217',
950: '#000000',
},
}SCSS
$custom: #2c6217; $custom-light: #6b8f59; $custom-dark: #000000;
JSON
{
"hex": "#2c6217",
"rgb": {
"r": 44,
"g": 98,
"b": 23
},
"hsl": {
"h": 103.2,
"s": 61.983,
"l": 23.725
},
"oklch": {
"l": 0.44271,
"c": 0.12045,
"h": 138.5
},
"luminance": 0.09333
}Semantic roles & 50–950 ramp
primary
#2C6217
secondary
#7F3C99
accent
#43E5B8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79