#2A5C11#2A5C11
#2A5C11 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.4% C 0.117 H 137.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5C11 |
|---|---|
| RGB | rgb(42, 92, 17) |
| HSL | hsl(100, 69%, 21%) |
| HSV | hsv(100, 82%, 36%) |
| CMYK | cmyk(54.3%, 0%, 81.5%, 63.9%) |
| CIE-LAB | lab(34.37, -31.23, 35.40) |
| CIE-LCH | lch(34.37, 47.21, 131.42°) |
| OKLab | oklab(42.38% -0.0865 0.0792) |
| OKLCH | oklch(42.38% 0.117 137.6) |
| XYZ | xyz(4.8830, 8.1866, 1.8531) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.75
Deep Green
#02590F
ΔE00 3.90
Navy Green
#35530A
ΔE00 4.39
Forest Green
#2D5A27
ΔE00 4.48
Darkgreen
#006400
ΔE00 4.61
Bottle Green
#044A05
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5C11 #43115C
analogous
#505C11 #2A5C11 #115C1E
triadic
#2A5C11 #112A5C #5C112A
tetradic
#2A5C11 #11505C #43115C #5C1E11
square
#2A5C11 #11505C #43115C #5C1E11
split-complementary
#2A5C11 #1E115C #5C1150
monochromatic
#0C1A05 #122807 #2A5C11 #42901B #59C324
Accessibility & contrast
On white
7.96
#2A5C11 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2A5C11 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5C11
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5C11 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5C11 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5302
Deuteranopia (green-blind)
#594F19
Tritanopia (blue-blind)
#27584E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a5c11; /* rgb */ color: rgb(42, 92, 17); /* oklch */ color: oklch(42.4% 0.117 137.6);
Tailwind
colors: {
custom: {
50: '#6a8b55',
500: '#2a5c11',
950: '#000000',
},
}SCSS
$custom: #2a5c11; $custom-light: #6a8b55; $custom-dark: #000000;
JSON
{
"hex": "#2a5c11",
"rgb": {
"r": 42,
"g": 92,
"b": 17
},
"hsl": {
"h": 100,
"s": 68.807,
"l": 21.373
},
"oklch": {
"l": 0.42384,
"c": 0.11728,
"h": 137.6
},
"luminance": 0.08187
}Semantic roles & 50–950 ramp
primary
#2A5C11
secondary
#753495
accent
#3CECB1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78