#2A7D4C#2A7D4C
#2A7D4C is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.7% C 0.111 H 153.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7D4C |
|---|---|
| RGB | rgb(42, 125, 76) |
| HSL | hsl(145, 50%, 33%) |
| HSV | hsv(145, 66%, 49%) |
| CMYK | cmyk(66.4%, 0%, 39.2%, 51%) |
| CIE-LAB | lab(46.55, -36.83, 19.59) |
| CIE-LCH | lch(46.55, 41.72, 151.99°) |
| OKLab | oklab(52.66% -0.0997 0.049) |
| OKLCH | oklch(52.66% 0.111 153.8) |
| XYZ | xyz(9.5922, 15.6803, 9.3572) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 3.54
Darkish Green
#287C37
ΔE00 4.61
Dark Sea Green
#11875D
ΔE00 4.82
Sea Green
#2E8B57
ΔE00 5.08
Dark Sage
#598556
ΔE00 7.25
Viridian
#1E9167
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7D4C #7D2A5B
analogous
#327D2A #2A7D4C #2A7D75
triadic
#2A7D4C #4C2A7D #7D4C2A
tetradic
#2A7D4C #2A327D #7D2A5B #7D752A
square
#2A7D4C #2A327D #7D2A5B #7D752A
split-complementary
#2A7D4C #752A7D #7D2A32
monochromatic
#0B2114 #1B4F30 #2A7D4C #39AB68 #5AC887
Accessibility & contrast
On white
5.08
#2A7D4C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#2A7D4C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A7D4C
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7D4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A7D4C | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D7349
Deuteranopia (green-blind)
#726B4F
Tritanopia (blue-blind)
#017B71
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2a7d4c; /* rgb */ color: rgb(42, 125, 76); /* oklch */ color: oklch(52.7% 0.111 153.8);
Tailwind
colors: {
custom: {
50: '#6ea37e',
500: '#2a7d4c',
950: '#000000',
},
}SCSS
$custom: #2a7d4c; $custom-light: #6ea37e; $custom-dark: #000000;
JSON
{
"hex": "#2a7d4c",
"rgb": {
"r": 42,
"g": 125,
"b": 76
},
"hsl": {
"h": 144.578,
"s": 49.701,
"l": 32.745
},
"oklch": {
"l": 0.5266,
"c": 0.11103,
"h": 153.8
},
"luminance": 0.15681
}Semantic roles & 50–950 ramp
primary
#2A7D4C
secondary
#AD5689
accent
#4FA0D9
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C