#2A5C17#2A5C17
#2A5C17 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.4% C 0.113 H 138.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5C17 |
|---|---|
| RGB | rgb(42, 92, 23) |
| HSL | hsl(103, 60%, 23%) |
| HSV | hsv(103, 75%, 36%) |
| CMYK | cmyk(54.3%, 0%, 75%, 63.9%) |
| CIE-LAB | lab(34.41, -30.74, 32.99) |
| CIE-LCH | lch(34.41, 45.09, 132.98°) |
| OKLab | oklab(42.43% -0.0848 0.0751) |
| OKLCH | oklch(42.43% 0.113 138.5) |
| XYZ | xyz(4.9365, 8.2080, 2.1346) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.57
Forest
#0B5509
ΔE00 3.66
Deep Green
#02590F
ΔE00 3.66
Navy Green
#35530A
ΔE00 4.72
Darkgreen
#006400
ΔE00 4.93
Bottle Green
#044A05
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5C17 #49175C
analogous
#4D5C17 #2A5C17 #175C26
triadic
#2A5C17 #172A5C #5C172A
tetradic
#2A5C17 #174D5C #49175C #5C2617
square
#2A5C17 #174D5C #49175C #5C2617
split-complementary
#2A5C17 #26175C #5C174D
monochromatic
#0B1806 #142B0B #2A5C17 #408D23 #57BE2F
Accessibility & contrast
On white
7.95
#2A5C17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2A5C17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5C17
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5C17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5C17 | 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)
#5F540C
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#26594E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a5c17; /* rgb */ color: rgb(42, 92, 23); /* oklch */ color: oklch(42.4% 0.113 138.5);
Tailwind
colors: {
custom: {
50: '#698b58',
500: '#2a5c17',
950: '#000000',
},
}SCSS
$custom: #2a5c17; $custom-light: #698b58; $custom-dark: #000000;
JSON
{
"hex": "#2a5c17",
"rgb": {
"r": 42,
"g": 92,
"b": 23
},
"hsl": {
"h": 103.478,
"s": 60,
"l": 22.549
},
"oklch": {
"l": 0.42434,
"c": 0.11324,
"h": 138.5
},
"luminance": 0.08208
}Semantic roles & 50–950 ramp
primary
#2A5C17
secondary
#7B3C93
accent
#45E3B8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79