#2F774D#2F774D
#2F774D is a mid, moderate green. Relative luminance 0.143; OKLCH L 51.2% C 0.099 H 155.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2F774D |
|---|---|
| RGB | rgb(47, 119, 77) |
| HSL | hsl(145, 43%, 33%) |
| HSV | hsv(145, 61%, 47%) |
| CMYK | cmyk(60.5%, 0%, 35.3%, 53.3%) |
| CIE-LAB | lab(44.71, -32.86, 16.57) |
| CIE-LCH | lch(44.71, 36.80, 153.24°) |
| OKLab | oklab(51.2% -0.0893 0.0417) |
| OKLCH | oklch(51.2% 0.099 155) |
| XYZ | xyz(9.1079, 14.3330, 9.3063) |
| Luminance | 0.1433 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 5.88
Darkish Green
#287C37
ΔE00 6.15
Dark Sea Green
#11875D
ΔE00 6.23
Sea Green
#2E8B57
ΔE00 7.28
Dark Sage
#598556
ΔE00 8.13
Spruce
#0A5F38
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F774D #772F59
analogous
#35772F #2F774D #2F7771
triadic
#2F774D #4D2F77 #774D2F
tetradic
#2F774D #2F3577 #772F59 #77712F
square
#2F774D #2F3577 #772F59 #77712F
split-complementary
#2F774D #712F77 #772F35
monochromatic
#0C1F14 #1E4B31 #2F774D #40A369 #60C088
Accessibility & contrast
On white
5.43
#2F774D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#2F774D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F774D
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F774D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F774D | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776E4A
Deuteranopia (green-blind)
#6D6750
Tritanopia (blue-blind)
#16766C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #2f774d; /* rgb */ color: rgb(47, 119, 77); /* oklch */ color: oklch(51.2% 0.099 155.0);
Tailwind
colors: {
custom: {
50: '#6f9f7f',
500: '#2f774d',
950: '#000000',
},
}SCSS
$custom: #2f774d; $custom-light: #6f9f7f; $custom-dark: #000000;
JSON
{
"hex": "#2f774d",
"rgb": {
"r": 47,
"g": 119,
"b": 77
},
"hsl": {
"h": 145,
"s": 43.373,
"l": 32.549
},
"oklch": {
"l": 0.51195,
"c": 0.09857,
"h": 155
},
"luminance": 0.14334
}Semantic roles & 50–950 ramp
primary
#2F774D
secondary
#A75B87
accent
#559ED3
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080E0A
muted
#7B7E7C