#2A5515#2A5515
#2A5515 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.4% C 0.105 H 137.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5515 |
|---|---|
| RGB | rgb(42, 85, 21) |
| HSL | hsl(100, 60%, 21%) |
| HSV | hsv(100, 75%, 33%) |
| CMYK | cmyk(50.6%, 0%, 75.3%, 66.7%) |
| CIE-LAB | lab(31.90, -27.79, 31.27) |
| CIE-LCH | lch(31.90, 41.84, 131.63°) |
| OKLab | oklab(40.37% -0.077 0.0712) |
| OKLCH | oklch(40.37% 0.105 137.2) |
| XYZ | xyz(4.3386, 7.0431, 1.8402) |
| Luminance | 0.0704 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.47
Navy Green
#35530A
ΔE00 3.49
Forest
#0B5509
ΔE00 3.58
Deep Green
#02590F
ΔE00 4.35
Bottle Green
#044A05
ΔE00 4.93
Darkgreen (survey)
#054907
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5515 #401555
analogous
#4A5515 #2A5515 #155520
triadic
#2A5515 #152A55 #55152A
tetradic
#2A5515 #154A55 #401555 #552015
square
#2A5515 #154A55 #401555 #552015
split-complementary
#2A5515 #201555 #55154A
monochromatic
#0C1906 #122409 #2A5515 #428621 #5AB72D
Accessibility & contrast
On white
8.72
#2A5515 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2A5515 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5515
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5515 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5515 | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584D0B
Deuteranopia (green-blind)
#524A1B
Tritanopia (blue-blind)
#285248
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2a5515; /* rgb */ color: rgb(42, 85, 21); /* oklch */ color: oklch(40.4% 0.105 137.2);
Tailwind
colors: {
custom: {
50: '#688556',
500: '#2a5515',
950: '#000000',
},
}SCSS
$custom: #2a5515; $custom-light: #688556; $custom-dark: #000000;
JSON
{
"hex": "#2a5515",
"rgb": {
"r": 42,
"g": 85,
"b": 21
},
"hsl": {
"h": 100.313,
"s": 60.377,
"l": 20.784
},
"oklch": {
"l": 0.40368,
"c": 0.10482,
"h": 137.2
},
"luminance": 0.07043
}Semantic roles & 50–950 ramp
primary
#2A5515
secondary
#71398D
accent
#44E4AF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78