#2A5C15#2A5C15
#2A5C15 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.4% C 0.115 H 138.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5C15 |
|---|---|
| RGB | rgb(42, 92, 21) |
| HSL | hsl(102, 63%, 22%) |
| HSV | hsv(102, 77%, 36%) |
| CMYK | cmyk(54.3%, 0%, 77.2%, 63.9%) |
| CIE-LAB | lab(34.40, -30.92, 33.83) |
| CIE-LCH | lch(34.40, 45.83, 132.42°) |
| OKLab | oklab(42.42% -0.0854 0.0765) |
| OKLCH | oklch(42.42% 0.115 138.1) |
| XYZ | xyz(4.9172, 8.2003, 2.0330) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.66
Deep Green
#02590F
ΔE00 3.72
Forest Green
#2D5A27
ΔE00 3.89
Navy Green
#35530A
ΔE00 4.59
Darkgreen
#006400
ΔE00 4.79
Bottle Green
#044A05
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5C15 #47155C
analogous
#4D5C15 #2A5C15 #155C24
triadic
#2A5C15 #152A5C #5C152A
tetradic
#2A5C15 #154D5C #47155C #5C2415
square
#2A5C15 #154D5C #47155C #5C2415
split-complementary
#2A5C15 #24155C #5C154D
monochromatic
#0B1906 #132A0A #2A5C15 #418E20 #57C02C
Accessibility & contrast
On white
7.95
#2A5C15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2A5C15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5C15
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5C15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5C15 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5309
Deuteranopia (green-blind)
#594F1C
Tritanopia (blue-blind)
#26594E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a5c15; /* rgb */ color: rgb(42, 92, 21); /* oklch */ color: oklch(42.4% 0.115 138.1);
Tailwind
colors: {
custom: {
50: '#698b57',
500: '#2a5c15',
950: '#000000',
},
}SCSS
$custom: #2a5c15; $custom-light: #698b57; $custom-dark: #000000;
JSON
{
"hex": "#2a5c15",
"rgb": {
"r": 42,
"g": 92,
"b": 21
},
"hsl": {
"h": 102.254,
"s": 62.832,
"l": 22.157
},
"oklch": {
"l": 0.42416,
"c": 0.11467,
"h": 138.1
},
"luminance": 0.08201
}Semantic roles & 50–950 ramp
primary
#2A5C15
secondary
#793993
accent
#42E6B5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78