#2A5F15#2A5F15
#2A5F15 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.119 H 138.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5F15 |
|---|---|
| RGB | rgb(42, 95, 21) |
| HSL | hsl(103, 64%, 23%) |
| HSV | hsv(103, 78%, 37%) |
| CMYK | cmyk(55.8%, 0%, 77.9%, 62.7%) |
| CIE-LAB | lab(35.46, -32.21, 34.91) |
| CIE-LCH | lch(35.46, 47.50, 132.70°) |
| OKLab | oklab(43.29% -0.0889 0.0788) |
| OKLCH | oklch(43.29% 0.119 138.5) |
| XYZ | xyz(5.1822, 8.7304, 2.1214) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.94
Darkgreen
#006400
ΔE00 4.07
Forest
#0B5509
ΔE00 4.18
Forest Green
#2D5A27
ΔE00 4.46
Navy Green
#35530A
ΔE00 5.31
Camouflage Green
#4B6113
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5F15 #4A155F
analogous
#4F5F15 #2A5F15 #155F25
triadic
#2A5F15 #152A5F #5F152A
tetradic
#2A5F15 #154F5F #4A155F #5F2515
square
#2A5F15 #154F5F #4A155F #5F2515
split-complementary
#2A5F15 #25155F #5F154F
monochromatic
#0B1906 #142D0A #2A5F15 #409120 #56C32B
Accessibility & contrast
On white
7.65
#2A5F15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2A5F15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5F15
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5F15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5F15 | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625608
Deuteranopia (green-blind)
#5B521C
Tritanopia (blue-blind)
#265B51
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a5f15; /* rgb */ color: rgb(42, 95, 21); /* oklch */ color: oklch(43.3% 0.119 138.5);
Tailwind
colors: {
custom: {
50: '#6a8d58',
500: '#2a5f15',
950: '#000000',
},
}SCSS
$custom: #2a5f15; $custom-light: #6a8d58; $custom-dark: #000000;
JSON
{
"hex": "#2a5f15",
"rgb": {
"r": 42,
"g": 95,
"b": 21
},
"hsl": {
"h": 102.973,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.43291,
"c": 0.11878,
"h": 138.5
},
"luminance": 0.08731
}Semantic roles & 50–950 ramp
primary
#2A5F15
secondary
#7C3A96
accent
#41E7B8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78