#2A6337#2A6337
#2A6337 is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.9% C 0.093 H 148.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6337 |
|---|---|
| RGB | rgb(42, 99, 55) |
| HSL | hsl(134, 40%, 28%) |
| HSV | hsv(134, 58%, 39%) |
| CMYK | cmyk(57.6%, 0%, 44.4%, 61.2%) |
| CIE-LAB | lab(37.28, -29.41, 19.48) |
| CIE-LCH | lch(37.28, 35.28, 146.49°) |
| OKLab | oklab(44.93% -0.0797 0.0481) |
| OKLCH | oklch(44.93% 0.093 148.9) |
| XYZ | xyz(6.1059, 9.6912, 5.1625) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.08
Hunter Green
#355E3B
ΔE00 3.36
Spruce
#0A5F38
ΔE00 3.62
Forest Green
#2D5A27
ΔE00 4.18
Deep Green
#02590F
ΔE00 7.44
Forest
#0B5509
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6337 #632A56
analogous
#39632A #2A6337 #2A6353
triadic
#2A6337 #372A63 #63372A
tetradic
#2A6337 #2A3963 #632A56 #63532A
square
#2A6337 #2A3963 #632A56 #63532A
split-complementary
#2A6337 #532A63 #632A39
monochromatic
#09150C #18381F #2A6337 #3C8E4F #52B669
Accessibility & contrast
On white
7.15
#2A6337 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#2A6337 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A6337
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6337 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6337 | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645B34
Deuteranopia (green-blind)
#5C563A
Tritanopia (blue-blind)
#1E6158
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2a6337; /* rgb */ color: rgb(42, 99, 55); /* oklch */ color: oklch(44.9% 0.093 148.9);
Tailwind
colors: {
custom: {
50: '#69906e',
500: '#2a6337',
950: '#000000',
},
}SCSS
$custom: #2a6337; $custom-light: #69906e; $custom-dark: #000000;
JSON
{
"hex": "#2a6337",
"rgb": {
"r": 42,
"g": 99,
"b": 55
},
"hsl": {
"h": 133.684,
"s": 40.426,
"l": 27.647
},
"oklch": {
"l": 0.44925,
"c": 0.09311,
"h": 148.9
},
"luminance": 0.09692
}Semantic roles & 50–950 ramp
primary
#2A6337
secondary
#955386
accent
#58B5D0
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#070C07
muted
#7A7D7A