#2C5B15#2C5B15
#2C5B15 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.112 H 137.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5B15 |
|---|---|
| RGB | rgb(44, 91, 21) |
| HSL | hsl(100, 63%, 22%) |
| HSV | hsv(100, 77%, 36%) |
| CMYK | cmyk(51.6%, 0%, 76.9%, 64.3%) |
| CIE-LAB | lab(34.13, -29.80, 33.59) |
| CIE-LCH | lch(34.13, 44.91, 131.58°) |
| OKLab | oklab(42.22% -0.0825 0.076) |
| OKLCH | oklch(42.22% 0.112 137.4) |
| XYZ | xyz(4.9150, 8.0715, 2.0083) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.82
Forest
#0B5509
ΔE00 3.82
Deep Green
#02590F
ΔE00 4.04
Navy Green
#35530A
ΔE00 4.10
Darkgreen
#006400
ΔE00 5.26
Bottle Green
#044A05
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5B15 #44155B
analogous
#4F5B15 #2C5B15 #155B21
triadic
#2C5B15 #152C5B #5B152C
tetradic
#2C5B15 #154F5B #44155B #5B2115
square
#2C5B15 #154F5B #44155B #5B2115
split-complementary
#2C5B15 #21155B #5B154F
monochromatic
#0C1906 #14290A #2C5B15 #448D20 #5CBE2C
Accessibility & contrast
On white
8.03
#2C5B15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2C5B15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C5B15
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5B15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5B15 | 1.00 | 8.03 | 2.61 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5309
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#29584D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2c5b15; /* rgb */ color: rgb(44, 91, 21); /* oklch */ color: oklch(42.2% 0.112 137.4);
Tailwind
colors: {
custom: {
50: '#6a8a57',
500: '#2c5b15',
950: '#000000',
},
}SCSS
$custom: #2c5b15; $custom-light: #6a8a57; $custom-dark: #000000;
JSON
{
"hex": "#2c5b15",
"rgb": {
"r": 44,
"g": 91,
"b": 21
},
"hsl": {
"h": 100.286,
"s": 62.5,
"l": 21.961
},
"oklch": {
"l": 0.42222,
"c": 0.11219,
"h": 137.4
},
"luminance": 0.08072
}Semantic roles & 50–950 ramp
primary
#2C5B15
secondary
#753992
accent
#42E6B0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78