#2F7F4E#2F7F4E
#2F7F4E is a mid, moderate green. Relative luminance 0.163; OKLCH L 53.4% C 0.110 H 153.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7F4E |
|---|---|
| RGB | rgb(47, 127, 78) |
| HSL | hsl(143, 46%, 34%) |
| HSV | hsv(143, 63%, 50%) |
| CMYK | cmyk(63%, 0%, 38.6%, 50.2%) |
| CIE-LAB | lab(47.41, -36.20, 19.62) |
| CIE-LCH | lch(47.41, 41.17, 151.54°) |
| OKLab | oklab(53.42% -0.0981 0.0491) |
| OKLCH | oklch(53.42% 0.11 153.4) |
| XYZ | xyz(10.1360, 16.3321, 9.8245) |
| Luminance | 0.1633 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 3.57
Sea Green
#2E8B57
ΔE00 4.33
Dark Sea Green
#11875D
ΔE00 4.48
Darkish Green
#287C37
ΔE00 4.78
Dark Sage
#598556
ΔE00 6.51
Viridian
#1E9167
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7F4E #7F2F60
analogous
#387F2F #2F7F4E #2F7F76
triadic
#2F7F4E #4E2F7F #7F4E2F
tetradic
#2F7F4E #2F387F #7F2F60 #7F762F
square
#2F7F4E #2F387F #7F2F60 #7F762F
split-complementary
#2F7F4E #762F7F #7F2F38
monochromatic
#0E2617 #1E5233 #2F7F4E #40AC69 #63C589
Accessibility & contrast
On white
4.92
#2F7F4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#2F7F4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7F4E
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7F4E | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F754B
Deuteranopia (green-blind)
#746D51
Tritanopia (blue-blind)
#117D73
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #2f7f4e; /* rgb */ color: rgb(47, 127, 78); /* oklch */ color: oklch(53.4% 0.110 153.4);
Tailwind
colors: {
custom: {
50: '#70a580',
500: '#2f7f4e',
950: '#000000',
},
}SCSS
$custom: #2f7f4e; $custom-light: #70a580; $custom-dark: #000000;
JSON
{
"hex": "#2f7f4e",
"rgb": {
"r": 47,
"g": 127,
"b": 78
},
"hsl": {
"h": 143.25,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.53416,
"c": 0.10965,
"h": 153.4
},
"luminance": 0.16333
}Semantic roles & 50–950 ramp
primary
#2F7F4E
secondary
#AC5E8E
accent
#52A3D6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C