#2A7948#2A7948
#2A7948 is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.5% C 0.109 H 152.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7948 |
|---|---|
| RGB | rgb(42, 121, 72) |
| HSL | hsl(143, 48%, 32%) |
| HSV | hsv(143, 65%, 47%) |
| CMYK | cmyk(65.3%, 0%, 40.5%, 52.5%) |
| CIE-LAB | lab(45.13, -35.92, 19.98) |
| CIE-LCH | lch(45.13, 41.10, 150.92°) |
| OKLab | oklab(51.47% -0.0971 0.0498) |
| OKLCH | oklch(51.47% 0.109 152.9) |
| XYZ | xyz(8.9612, 14.6340, 8.4820) |
| Luminance | 0.1464 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 4.24
Darkish Green
#287C37
ΔE00 4.41
Dark Sea Green
#11875D
ΔE00 6.10
Sea Green
#2E8B57
ΔE00 6.52
Dark Sage
#598556
ΔE00 7.93
Spruce
#0A5F38
ΔE00 9.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7948 #792A5B
analogous
#34792A #2A7948 #2A7970
triadic
#2A7948 #482A79 #79482A
tetradic
#2A7948 #2A3479 #792A5B #79702A
square
#2A7948 #2A3479 #792A5B #79702A
split-complementary
#2A7948 #702A79 #792A34
monochromatic
#0A1E12 #1A4C2D #2A7948 #3AA663 #58C582
Accessibility & contrast
On white
5.35
#2A7948 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#2A7948 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A7948
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7948 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A7948 | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796F45
Deuteranopia (green-blind)
#6F684B
Tritanopia (blue-blind)
#09776D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2a7948; /* rgb */ color: rgb(42, 121, 72); /* oklch */ color: oklch(51.5% 0.109 152.9);
Tailwind
colors: {
custom: {
50: '#6da07b',
500: '#2a7948',
950: '#000000',
},
}SCSS
$custom: #2a7948; $custom-light: #6da07b; $custom-dark: #000000;
JSON
{
"hex": "#2a7948",
"rgb": {
"r": 42,
"g": 121,
"b": 72
},
"hsl": {
"h": 142.785,
"s": 48.466,
"l": 31.961
},
"oklch": {
"l": 0.51465,
"c": 0.10917,
"h": 152.9
},
"luminance": 0.14635
}Semantic roles & 50–950 ramp
primary
#2A7948
secondary
#AB548A
accent
#50A4D8
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F09
muted
#7B7E7B