#2C6018#2C6018
#2C6018 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.7% C 0.117 H 138.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6018 |
|---|---|
| RGB | rgb(44, 96, 24) |
| HSL | hsl(103, 60%, 24%) |
| HSV | hsv(103, 75%, 38%) |
| CMYK | cmyk(54.2%, 0%, 75%, 62.4%) |
| CIE-LAB | lab(35.92, -31.74, 34.14) |
| CIE-LCH | lch(35.92, 46.62, 132.91°) |
| OKLab | oklab(43.7% -0.0876 0.0776) |
| OKLCH | oklch(43.7% 0.117 138.5) |
| XYZ | xyz(5.3863, 8.9668, 2.3109) |
| Luminance | 0.0897 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 4.23
Darkgreen
#006400
ΔE00 4.25
Forest Green
#2D5A27
ΔE00 4.30
Forest
#0B5509
ΔE00 4.55
Navy Green
#35530A
ΔE00 5.51
Pine
#2B5D34
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6018 #4C1860
analogous
#506018 #2C6018 #186028
triadic
#2C6018 #182C60 #60182C
tetradic
#2C6018 #185060 #4C1860 #602818
square
#2C6018 #185060 #4C1860 #602818
split-complementary
#2C6018 #281860 #601850
monochromatic
#0B1806 #162F0C #2C6018 #429124 #59C230
Accessibility & contrast
On white
7.52
#2C6018 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#2C6018 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C6018
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6018 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6018 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63570D
Deuteranopia (green-blind)
#5C531F
Tritanopia (blue-blind)
#285D52
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c6018; /* rgb */ color: rgb(44, 96, 24); /* oklch */ color: oklch(43.7% 0.117 138.5);
Tailwind
colors: {
custom: {
50: '#6b8e5a',
500: '#2c6018',
950: '#000000',
},
}SCSS
$custom: #2c6018; $custom-light: #6b8e5a; $custom-dark: #000000;
JSON
{
"hex": "#2c6018",
"rgb": {
"r": 44,
"g": 96,
"b": 24
},
"hsl": {
"h": 103.333,
"s": 60,
"l": 23.529
},
"oklch": {
"l": 0.43701,
"c": 0.117,
"h": 138.5
},
"luminance": 0.08967
}Semantic roles & 50–950 ramp
primary
#2C6018
secondary
#7E3D96
accent
#45E3B7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79