#2A5F18#2A5F18
#2A5F18 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.117 H 139.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5F18 |
|---|---|
| RGB | rgb(42, 95, 24) |
| HSL | hsl(105, 60%, 23%) |
| HSV | hsv(105, 75%, 37%) |
| CMYK | cmyk(55.8%, 0%, 74.7%, 62.7%) |
| CIE-LAB | lab(35.48, -31.96, 33.66) |
| CIE-LCH | lch(35.48, 46.42, 133.51°) |
| OKLab | oklab(43.32% -0.088 0.0766) |
| OKLCH | oklch(43.32% 0.117 139) |
| XYZ | xyz(5.2117, 8.7422, 2.2768) |
| Luminance | 0.0874 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.84
Forest Green
#2D5A27
ΔE00 4.03
Forest
#0B5509
ΔE00 4.15
Darkgreen
#006400
ΔE00 4.27
Navy Green
#35530A
ΔE00 5.47
Pine
#2B5D34
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5F18 #4D185F
analogous
#4D5F18 #2A5F18 #185F29
triadic
#2A5F18 #182A5F #5F182A
tetradic
#2A5F18 #184D5F #4D185F #5F2918
square
#2A5F18 #184D5F #4D185F #5F2918
split-complementary
#2A5F18 #29185F #5F184D
monochromatic
#0B1806 #142E0C #2A5F18 #409024 #55C131
Accessibility & contrast
On white
7.64
#2A5F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2A5F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5F18
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5F18 | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#62560D
Deuteranopia (green-blind)
#5B521F
Tritanopia (blue-blind)
#255C51
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a5f18; /* rgb */ color: rgb(42, 95, 24); /* oklch */ color: oklch(43.3% 0.117 139.0);
Tailwind
colors: {
custom: {
50: '#6a8d59',
500: '#2a5f18',
950: '#000000',
},
}SCSS
$custom: #2a5f18; $custom-light: #6a8d59; $custom-dark: #000000;
JSON
{
"hex": "#2a5f18",
"rgb": {
"r": 42,
"g": 95,
"b": 24
},
"hsl": {
"h": 104.789,
"s": 59.664,
"l": 23.333
},
"oklch": {
"l": 0.43318,
"c": 0.11667,
"h": 139
},
"luminance": 0.08743
}Semantic roles & 50–950 ramp
primary
#2A5F18
secondary
#7F3D95
accent
#45E3BB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79