#2A5C22#2A5C22
#2A5C22 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.6% C 0.104 H 141.0°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5C22 |
|---|---|
| RGB | rgb(42, 92, 34) |
| HSL | hsl(112, 46%, 25%) |
| HSV | hsv(112, 63%, 36%) |
| CMYK | cmyk(54.3%, 0%, 63%, 63.9%) |
| CIE-LAB | lab(34.52, -29.54, 27.79) |
| CIE-LCH | lch(34.52, 40.56, 136.75°) |
| OKLab | oklab(42.56% -0.0808 0.0654) |
| OKLCH | oklch(42.56% 0.104 141) |
| XYZ | xyz(5.0705, 8.2616, 2.8405) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.60
Deep Green
#02590F
ΔE00 4.07
Forest
#0B5509
ΔE00 4.34
Pine
#2B5D34
ΔE00 4.36
Navy Green
#35530A
ΔE00 5.95
Hunter Green
#355E3B
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5C22 #54225C
analogous
#475C22 #2A5C22 #225C37
triadic
#2A5C22 #222A5C #5C222A
tetradic
#2A5C22 #22475C #54225C #5C3722
square
#2A5C22 #22475C #54225C #5C3722
split-complementary
#2A5C22 #37225C #5C2247
monochromatic
#0A1608 #162F11 #2A5C22 #3E8933 #53B543
Accessibility & contrast
On white
7.92
#2A5C22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2A5C22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5C22
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5C22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5C22 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E541C
Deuteranopia (green-blind)
#585026
Tritanopia (blue-blind)
#24594F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a5c22; /* rgb */ color: rgb(42, 92, 34); /* oklch */ color: oklch(42.6% 0.104 141.0);
Tailwind
colors: {
custom: {
50: '#698b5f',
500: '#2a5c22',
950: '#000000',
},
}SCSS
$custom: #2a5c22; $custom-light: #698b5f; $custom-dark: #000000;
JSON
{
"hex": "#2a5c22",
"rgb": {
"r": 42,
"g": 92,
"b": 34
},
"hsl": {
"h": 111.724,
"s": 46.032,
"l": 24.706
},
"oklch": {
"l": 0.42559,
"c": 0.10392,
"h": 141
},
"luminance": 0.08262
}Semantic roles & 50–950 ramp
primary
#2A5C22
secondary
#864A90
accent
#52D6C4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C05
muted
#7A7D79