#2A5E15#2A5E15
#2A5E15 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.117 H 138.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5E15 |
|---|---|
| RGB | rgb(42, 94, 21) |
| HSL | hsl(103, 63%, 23%) |
| HSV | hsv(103, 78%, 37%) |
| CMYK | cmyk(55.3%, 0%, 77.7%, 63.1%) |
| CIE-LAB | lab(35.11, -31.79, 34.55) |
| CIE-LCH | lch(35.11, 46.95, 132.61°) |
| OKLab | oklab(43% -0.0877 0.078) |
| OKLCH | oklch(43% 0.117 138.4) |
| XYZ | xyz(5.0927, 8.5514, 2.0915) |
| Luminance | 0.0855 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.83
Forest
#0B5509
ΔE00 3.98
Forest Green
#2D5A27
ΔE00 4.25
Darkgreen
#006400
ΔE00 4.29
Navy Green
#35530A
ΔE00 5.06
Bottle Green
#044A05
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5E15 #49155E
analogous
#4E5E15 #2A5E15 #155E25
triadic
#2A5E15 #152A5E #5E152A
tetradic
#2A5E15 #154E5E #49155E #5E2515
square
#2A5E15 #154E5E #49155E #5E2515
split-complementary
#2A5E15 #25155E #5E154E
monochromatic
#0B1906 #142C0A #2A5E15 #409020 #57C22B
Accessibility & contrast
On white
7.75
#2A5E15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#2A5E15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5E15
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5E15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5E15 | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615508
Deuteranopia (green-blind)
#5A511C
Tritanopia (blue-blind)
#265B50
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a5e15; /* rgb */ color: rgb(42, 94, 21); /* oklch */ color: oklch(43.0% 0.117 138.4);
Tailwind
colors: {
custom: {
50: '#6a8c58',
500: '#2a5e15',
950: '#000000',
},
}SCSS
$custom: #2a5e15; $custom-light: #6a8c58; $custom-dark: #000000;
JSON
{
"hex": "#2a5e15",
"rgb": {
"r": 42,
"g": 94,
"b": 21
},
"hsl": {
"h": 102.74,
"s": 63.478,
"l": 22.549
},
"oklch": {
"l": 0.43,
"c": 0.11742,
"h": 138.4
},
"luminance": 0.08552
}Semantic roles & 50–950 ramp
primary
#2A5E15
secondary
#7B3995
accent
#41E7B7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78