#2A5C2A#2A5C2A
#2A5C2A is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.7% C 0.096 H 143.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5C2A |
|---|---|
| RGB | rgb(42, 92, 42) |
| HSL | hsl(120, 37%, 26%) |
| HSV | hsv(120, 54%, 36%) |
| CMYK | cmyk(54.3%, 0%, 54.3%, 63.9%) |
| CIE-LAB | lab(34.63, -28.41, 23.57) |
| CIE-LCH | lch(34.63, 36.92, 140.32°) |
| OKLab | oklab(42.68% -0.0773 0.0568) |
| OKLCH | oklch(42.68% 0.096 143.7) |
| XYZ | xyz(5.1996, 8.3133, 3.5207) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.10
Pine
#2B5D34
ΔE00 2.49
Hunter Green
#355E3B
ΔE00 4.32
Deep Green
#02590F
ΔE00 5.23
Spruce
#0A5F38
ΔE00 5.30
Forest
#0B5509
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5C2A #5C2A5C
analogous
#435C2A #2A5C2A #2A5C43
triadic
#2A5C2A #2A2A5C #5C2A2A
tetradic
#2A5C2A #2A435C #5C2A5C #5C432A
square
#2A5C2A #2A435C #5C2A5C #5C432A
split-complementary
#2A5C2A #432A5C #5C2A43
monochromatic
#0A150A #173217 #2A5C2A #3D863D #51B051
Accessibility & contrast
On white
7.89
#2A5C2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2A5C2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5C2A
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5C2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5C2A | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5426
Deuteranopia (green-blind)
#57502D
Tritanopia (blue-blind)
#235A50
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a5c2a; /* rgb */ color: rgb(42, 92, 42); /* oklch */ color: oklch(42.7% 0.096 143.7);
Tailwind
colors: {
custom: {
50: '#688a65',
500: '#2a5c2a',
950: '#000000',
},
}SCSS
$custom: #2a5c2a; $custom-light: #688a65; $custom-dark: #000000;
JSON
{
"hex": "#2a5c2a",
"rgb": {
"r": 42,
"g": 92,
"b": 42
},
"hsl": {
"h": 120,
"s": 37.313,
"l": 26.275
},
"oklch": {
"l": 0.4268,
"c": 0.0959,
"h": 143.7
},
"luminance": 0.08314
}Semantic roles & 50–950 ramp
primary
#2A5C2A
secondary
#8E538E
accent
#5BCDCD
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A