#2A5F11#2A5F11
#2A5F11 is a dark, vivid green. Relative luminance 0.087; OKLCH L 43.3% C 0.121 H 137.9°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5F11 |
|---|---|
| RGB | rgb(42, 95, 17) |
| HSL | hsl(101, 70%, 22%) |
| HSV | hsv(101, 82%, 37%) |
| CMYK | cmyk(55.8%, 0%, 82.1%, 62.7%) |
| CIE-LAB | lab(35.43, -32.52, 36.43) |
| CIE-LCH | lch(35.43, 48.83, 131.75°) |
| OKLab | oklab(43.26% -0.09 0.0813) |
| OKLCH | oklch(43.26% 0.121 137.9) |
| XYZ | xyz(5.1481, 8.7167, 1.9414) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.89
Deep Green
#02590F
ΔE00 4.14
Forest
#0B5509
ΔE00 4.29
Forest Green
#2D5A27
ΔE00 4.99
Navy Green
#35530A
ΔE00 5.18
Camouflage Green
#4B6113
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5F11 #46115F
analogous
#515F11 #2A5F11 #115F1F
triadic
#2A5F11 #112A5F #5F112A
tetradic
#2A5F11 #11515F #46115F #5F1F11
square
#2A5F11 #11515F #46115F #5F1F11
split-complementary
#2A5F11 #1F115F #5F1151
monochromatic
#0B1A05 #132B08 #2A5F11 #41931A #58C724
Accessibility & contrast
On white
7.65
#2A5F11 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2A5F11 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5F11
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5F11 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5F11 | 1.00 | 7.65 | 2.74 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625601
Deuteranopia (green-blind)
#5B521A
Tritanopia (blue-blind)
#265B50
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a5f11; /* rgb */ color: rgb(42, 95, 17); /* oklch */ color: oklch(43.3% 0.121 137.9);
Tailwind
colors: {
custom: {
50: '#6a8d56',
500: '#2a5f11',
950: '#000000',
},
}SCSS
$custom: #2a5f11; $custom-light: #6a8d56; $custom-dark: #000000;
JSON
{
"hex": "#2a5f11",
"rgb": {
"r": 42,
"g": 95,
"b": 17
},
"hsl": {
"h": 100.769,
"s": 69.643,
"l": 21.961
},
"oklch": {
"l": 0.43261,
"c": 0.12128,
"h": 137.9
},
"luminance": 0.08717
}Semantic roles & 50–950 ramp
primary
#2A5F11
secondary
#783498
accent
#3BECB4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78