#2A7A3E#2A7A3E
#2A7A3E is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.6% C 0.121 H 148.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7A3E |
|---|---|
| RGB | rgb(42, 122, 62) |
| HSL | hsl(135, 49%, 32%) |
| HSV | hsv(135, 66%, 48%) |
| CMYK | cmyk(65.6%, 0%, 49.2%, 52.2%) |
| CIE-LAB | lab(45.30, -38.18, 25.79) |
| CIE-LCH | lch(45.30, 46.07, 145.96°) |
| OKLab | oklab(51.55% -0.1031 0.0629) |
| OKLCH | oklch(51.55% 0.121 148.6) |
| XYZ | xyz(8.7832, 14.7582, 6.9422) |
| Luminance | 0.1476 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.86
Jungle Green
#048243
ΔE00 3.43
Tree Green
#2A7E19
ΔE00 6.82
Sea Green
#2E8B57
ΔE00 6.88
Dark Sea Green
#11875D
ΔE00 7.57
Dark Sage
#598556
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7A3E #7A2A66
analogous
#3E7A2A #2A7A3E #2A7A66
triadic
#2A7A3E #3E2A7A #7A3E2A
tetradic
#2A7A3E #2A3E7A #7A2A66 #7A662A
square
#2A7A3E #2A3E7A #7A2A66 #7A662A
split-complementary
#2A7A3E #662A7A #7A2A3E
monochromatic
#0B1F10 #1A4C27 #2A7A3E #3AA855 #59C674
Accessibility & contrast
On white
5.31
#2A7A3E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#2A7A3E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A7A3E
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7A3E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A7A3E | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6F39
Deuteranopia (green-blind)
#716842
Tritanopia (blue-blind)
#11786C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2a7a3e; /* rgb */ color: rgb(42, 122, 62); /* oklch */ color: oklch(51.6% 0.121 148.6);
Tailwind
colors: {
custom: {
50: '#6da174',
500: '#2a7a3e',
950: '#000000',
},
}SCSS
$custom: #2a7a3e; $custom-light: #6da174; $custom-dark: #000000;
JSON
{
"hex": "#2a7a3e",
"rgb": {
"r": 42,
"g": 122,
"b": 62
},
"hsl": {
"h": 135,
"s": 48.78,
"l": 32.157
},
"oklch": {
"l": 0.51553,
"c": 0.12075,
"h": 148.6
},
"luminance": 0.14759
}Semantic roles & 50–950 ramp
primary
#2A7A3E
secondary
#AB5596
accent
#4FB6D8
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#080F08
muted
#7A7F7B