#2A6232#2A6232
#2A6232 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.5% C 0.097 H 146.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6232 |
|---|---|
| RGB | rgb(42, 98, 50) |
| HSL | hsl(129, 40%, 27%) |
| HSV | hsv(129, 57%, 38%) |
| CMYK | cmyk(57.1%, 0%, 49%, 61.6%) |
| CIE-LAB | lab(36.85, -29.85, 21.81) |
| CIE-LCH | lch(36.85, 36.97, 143.85°) |
| OKLab | oklab(44.54% -0.0809 0.0533) |
| OKLCH | oklch(44.54% 0.097 146.6) |
| XYZ | xyz(5.8979, 9.4574, 4.5317) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.26
Forest Green
#2D5A27
ΔE00 3.25
Hunter Green
#355E3B
ΔE00 3.90
Spruce
#0A5F38
ΔE00 4.28
Deep Green
#02590F
ΔE00 6.42
Forest
#0B5509
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6232 #622A5A
analogous
#3E622A #2A6232 #2A624E
triadic
#2A6232 #322A62 #62322A
tetradic
#2A6232 #2A3E62 #622A5A #624E2A
square
#2A6232 #2A3E62 #622A5A #624E2A
split-complementary
#2A6232 #4E2A62 #622A3E
monochromatic
#09150B #18371C #2A6232 #3C8D48 #52B560
Accessibility & contrast
On white
7.26
#2A6232 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#2A6232 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A6232
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6232 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6232 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635A2E
Deuteranopia (green-blind)
#5C5535
Tritanopia (blue-blind)
#1F6057
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2a6232; /* rgb */ color: rgb(42, 98, 50); /* oklch */ color: oklch(44.5% 0.097 146.6);
Tailwind
colors: {
custom: {
50: '#698f6b',
500: '#2a6232',
950: '#000000',
},
}SCSS
$custom: #2a6232; $custom-light: #698f6b; $custom-dark: #000000;
JSON
{
"hex": "#2a6232",
"rgb": {
"r": 42,
"g": 98,
"b": 50
},
"hsl": {
"h": 128.571,
"s": 40,
"l": 27.451
},
"oklch": {
"l": 0.44543,
"c": 0.0969,
"h": 146.6
},
"luminance": 0.09458
}Semantic roles & 50–950 ramp
primary
#2A6232
secondary
#94538B
accent
#58BFD0
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C06
muted
#7A7D7A