#2A7C4F#2A7C4F
#2A7C4F is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.4% C 0.107 H 155.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7C4F |
|---|---|
| RGB | rgb(42, 124, 79) |
| HSL | hsl(147, 49%, 33%) |
| HSV | hsv(147, 66%, 49%) |
| CMYK | cmyk(66.1%, 0%, 36.3%, 51.4%) |
| CIE-LAB | lab(46.27, -35.78, 17.50) |
| CIE-LCH | lch(46.27, 39.83, 153.94°) |
| OKLab | oklab(52.45% -0.097 0.044) |
| OKLCH | oklch(52.45% 0.107 155.6) |
| XYZ | xyz(9.5729, 15.4711, 9.8773) |
| Luminance | 0.1547 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 4.42
Dark Sea Green
#11875D
ΔE00 4.59
Sea Green
#2E8B57
ΔE00 5.49
Darkish Green
#287C37
ΔE00 5.56
Dark Sage
#598556
ΔE00 7.54
Viridian
#1E9167
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7C4F #7C2A57
analogous
#2E7C2A #2A7C4F #2A7C78
triadic
#2A7C4F #4F2A7C #7C4F2A
tetradic
#2A7C4F #2A2E7C #7C2A57 #7C782A
square
#2A7C4F #2A2E7C #7C2A57 #7C782A
split-complementary
#2A7C4F #782A7C #7C2A2E
monochromatic
#0B2115 #1B4E32 #2A7C4F #39AA6C #59C78B
Accessibility & contrast
On white
5.13
#2A7C4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#2A7C4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A7C4F
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7C4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A7C4F | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B724C
Deuteranopia (green-blind)
#716B52
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2a7c4f; /* rgb */ color: rgb(42, 124, 79); /* oklch */ color: oklch(52.4% 0.107 155.6);
Tailwind
colors: {
custom: {
50: '#6da380',
500: '#2a7c4f',
950: '#000000',
},
}SCSS
$custom: #2a7c4f; $custom-light: #6da380; $custom-dark: #000000;
JSON
{
"hex": "#2a7c4f",
"rgb": {
"r": 42,
"g": 124,
"b": 79
},
"hsl": {
"h": 147.073,
"s": 49.398,
"l": 32.549
},
"oklch": {
"l": 0.52449,
"c": 0.10656,
"h": 155.6
},
"luminance": 0.15472
}Semantic roles & 50–950 ramp
primary
#2A7C4F
secondary
#AD5585
accent
#4F9BD9
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C