#2A774A#2A774A
#2A774A is a mid, moderate green. Relative luminance 0.142; OKLCH L 51.0% C 0.104 H 154.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2A774A |
|---|---|
| RGB | rgb(42, 119, 74) |
| HSL | hsl(145, 48%, 32%) |
| HSV | hsv(145, 65%, 47%) |
| CMYK | cmyk(64.7%, 0%, 37.8%, 53.3%) |
| CIE-LAB | lab(44.49, -34.64, 17.98) |
| CIE-LCH | lch(44.49, 39.03, 152.57°) |
| OKLab | oklab(50.95% -0.0939 0.0451) |
| OKLCH | oklch(50.95% 0.104 154.4) |
| XYZ | xyz(8.7870, 14.1794, 8.7511) |
| Luminance | 0.1418 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 5.25
Darkish Green
#287C37
ΔE00 5.47
Dark Sea Green
#11875D
ΔE00 6.30
Sea Green
#2E8B57
ΔE00 7.22
Spruce
#0A5F38
ΔE00 8.33
Dark Sage
#598556
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A774A #772A57
analogous
#31772A #2A774A #2A7771
triadic
#2A774A #4A2A77 #774A2A
tetradic
#2A774A #2A3177 #772A57 #77712A
square
#2A774A #2A3177 #772A57 #77712A
split-complementary
#2A774A #712A77 #772A31
monochromatic
#0A1D12 #1A4A2E #2A774A #3AA466 #58C485
Accessibility & contrast
On white
5.47
#2A774A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#2A774A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A774A
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A774A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A774A | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776E47
Deuteranopia (green-blind)
#6D664D
Tritanopia (blue-blind)
#09766B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #2a774a; /* rgb */ color: rgb(42, 119, 74); /* oklch */ color: oklch(51.0% 0.104 154.4);
Tailwind
colors: {
custom: {
50: '#6c9f7d',
500: '#2a774a',
950: '#000000',
},
}SCSS
$custom: #2a774a; $custom-light: #6c9f7d; $custom-dark: #000000;
JSON
{
"hex": "#2a774a",
"rgb": {
"r": 42,
"g": 119,
"b": 74
},
"hsl": {
"h": 144.935,
"s": 47.826,
"l": 31.569
},
"oklch": {
"l": 0.50952,
"c": 0.10415,
"h": 154.4
},
"luminance": 0.1418
}Semantic roles & 50–950 ramp
primary
#2A774A
secondary
#A95486
accent
#509FD7
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E09
muted
#7A7E7B