#2A5C40#2A5C40
#2A5C40 is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.1% C 0.072 H 157.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5C40 |
|---|---|
| RGB | rgb(42, 92, 64) |
| HSL | hsl(146, 37%, 26%) |
| HSV | hsv(146, 54%, 36%) |
| CMYK | cmyk(54.3%, 0%, 30.4%, 63.9%) |
| CIE-LAB | lab(35.04, -24.19, 11.08) |
| CIE-LCH | lch(35.04, 26.61, 155.39°) |
| OKLab | oklab(43.15% -0.0662 0.0282) |
| OKLCH | oklch(43.15% 0.072 157) |
| XYZ | xyz(5.7070, 8.5162, 6.1926) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 3.17
Pine
#2B5D34
ΔE00 4.06
Spruce
#0A5F38
ΔE00 4.40
Forest Green
#2D5A27
ΔE00 7.08
Evergreen
#05472A
ΔE00 7.28
Dark Green Blue
#1F6357
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5C40 #5C2A46
analogous
#2D5C2A #2A5C40 #2A5C59
triadic
#2A5C40 #402A5C #5C402A
tetradic
#2A5C40 #2A2D5C #5C2A46 #5C592A
square
#2A5C40 #2A2D5C #5C2A46 #5C592A
split-complementary
#2A5C40 #592A5C #5C2A2D
monochromatic
#0A150F #173223 #2A5C40 #3D865D #51B07B
Accessibility & contrast
On white
7.77
#2A5C40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#2A5C40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5C40
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5C40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5C40 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B553E
Deuteranopia (green-blind)
#545042
Tritanopia (blue-blind)
#1C5B54
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2a5c40; /* rgb */ color: rgb(42, 92, 64); /* oklch */ color: oklch(43.1% 0.072 157.0);
Tailwind
colors: {
custom: {
50: '#688a75',
500: '#2a5c40',
950: '#000000',
},
}SCSS
$custom: #2a5c40; $custom-light: #688a75; $custom-dark: #000000;
JSON
{
"hex": "#2a5c40",
"rgb": {
"r": 42,
"g": 92,
"b": 64
},
"hsl": {
"h": 146.4,
"s": 37.313,
"l": 26.275
},
"oklch": {
"l": 0.43148,
"c": 0.07196,
"h": 157
},
"luminance": 0.08517
}Semantic roles & 50–950 ramp
primary
#2A5C40
secondary
#8E5374
accent
#5B9BCD
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B