#2A5F1A#2A5F1A
#2A5F1A is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.3% C 0.115 H 139.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5F1A |
|---|---|
| RGB | rgb(42, 95, 26) |
| HSL | hsl(106, 57%, 24%) |
| HSV | hsv(106, 73%, 37%) |
| CMYK | cmyk(55.8%, 0%, 72.6%, 62.7%) |
| CIE-LAB | lab(35.50, -31.77, 32.79) |
| CIE-LCH | lch(35.50, 45.65, 134.09°) |
| OKLab | oklab(43.34% -0.0873 0.0751) |
| OKLCH | oklch(43.34% 0.115 139.3) |
| XYZ | xyz(5.2333, 8.7508, 2.3904) |
| Luminance | 0.0875 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.73
Deep Green
#02590F
ΔE00 3.81
Forest
#0B5509
ΔE00 4.17
Darkgreen
#006400
ΔE00 4.44
Navy Green
#35530A
ΔE00 5.60
Pine
#2B5D34
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5F1A #4F1A5F
analogous
#4C5F1A #2A5F1A #1A5F2C
triadic
#2A5F1A #1A2A5F #5F1A2A
tetradic
#2A5F1A #1A4C5F #4F1A5F #5F2C1A
square
#2A5F1A #1A4C5F #4F1A5F #5F2C1A
split-complementary
#2A5F1A #2C1A5F #5F1A4C
monochromatic
#0B1807 #152F0D #2A5F1A #3F8F27 #54BF34
Accessibility & contrast
On white
7.64
#2A5F1A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2A5F1A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5F1A
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5F1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5F1A | 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)
#625610
Deuteranopia (green-blind)
#5B5220
Tritanopia (blue-blind)
#255C51
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a5f1a; /* rgb */ color: rgb(42, 95, 26); /* oklch */ color: oklch(43.3% 0.115 139.3);
Tailwind
colors: {
custom: {
50: '#6a8d5b',
500: '#2a5f1a',
950: '#000000',
},
}SCSS
$custom: #2a5f1a; $custom-light: #6a8d5b; $custom-dark: #000000;
JSON
{
"hex": "#2a5f1a",
"rgb": {
"r": 42,
"g": 95,
"b": 26
},
"hsl": {
"h": 106.087,
"s": 57.025,
"l": 23.725
},
"oklch": {
"l": 0.43337,
"c": 0.11517,
"h": 139.3
},
"luminance": 0.08751
}Semantic roles & 50–950 ramp
primary
#2A5F1A
secondary
#814095
accent
#48E0BD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79