#2F774F#2F774F
#2F774F is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.2% C 0.097 H 156.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2F774F |
|---|---|
| RGB | rgb(47, 119, 79) |
| HSL | hsl(147, 43%, 33%) |
| HSV | hsv(147, 61%, 47%) |
| CMYK | cmyk(60.5%, 0%, 33.6%, 53.3%) |
| CIE-LAB | lab(44.75, -32.44, 15.46) |
| CIE-LCH | lch(44.75, 35.93, 154.51°) |
| OKLab | oklab(51.24% -0.0883 0.0391) |
| OKLCH | oklch(51.24% 0.097 156.1) |
| XYZ | xyz(9.1796, 14.3616, 9.6839) |
| Luminance | 0.1436 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Sea Green
#11875D
ΔE00 6.11
Jungle Green
#048243
ΔE00 6.26
Darkish Green
#287C37
ΔE00 6.69
Sea Green
#2E8B57
ΔE00 7.39
Dark Sage
#598556
ΔE00 8.28
Spruce
#0A5F38
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F774F #772F57
analogous
#33772F #2F774F #2F7773
triadic
#2F774F #4F2F77 #774F2F
tetradic
#2F774F #2F3377 #772F57 #77732F
square
#2F774F #2F3377 #772F57 #77732F
split-complementary
#2F774F #732F77 #772F33
monochromatic
#0C1F15 #1E4B32 #2F774F #40A36C #60C08B
Accessibility & contrast
On white
5.42
#2F774F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#2F774F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F774F
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F774F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F774F | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766E4D
Deuteranopia (green-blind)
#6C6752
Tritanopia (blue-blind)
#15766C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #2f774f; /* rgb */ color: rgb(47, 119, 79); /* oklch */ color: oklch(51.2% 0.097 156.1);
Tailwind
colors: {
custom: {
50: '#6f9f80',
500: '#2f774f',
950: '#000000',
},
}SCSS
$custom: #2f774f; $custom-light: #6f9f80; $custom-dark: #000000;
JSON
{
"hex": "#2f774f",
"rgb": {
"r": 47,
"g": 119,
"b": 79
},
"hsl": {
"h": 146.667,
"s": 43.373,
"l": 32.549
},
"oklch": {
"l": 0.51241,
"c": 0.09656,
"h": 156.1
},
"luminance": 0.14363
}Semantic roles & 50–950 ramp
primary
#2F774F
secondary
#A75B85
accent
#559BD3
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080E0A
muted
#7B7E7C