#2F7D4E#2F7D4E
#2F7D4E is a mid, moderate green. Relative luminance 0.158; OKLCH L 52.9% C 0.107 H 153.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7D4E |
|---|---|
| RGB | rgb(47, 125, 78) |
| HSL | hsl(144, 45%, 34%) |
| HSV | hsv(144, 62%, 49%) |
| CMYK | cmyk(62.4%, 0%, 37.6%, 51%) |
| CIE-LAB | lab(46.74, -35.33, 18.73) |
| CIE-LCH | lch(46.74, 39.98, 152.07°) |
| OKLab | oklab(52.87% -0.0958 0.0469) |
| OKLCH | oklch(52.87% 0.107 153.9) |
| XYZ | xyz(9.8802, 15.8207, 9.7393) |
| Luminance | 0.1582 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 4.08
Dark Sea Green
#11875D
ΔE00 4.76
Darkish Green
#287C37
ΔE00 5.03
Sea Green
#2E8B57
ΔE00 5.05
Dark Sage
#598556
ΔE00 6.84
Viridian
#1E9167
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7D4E #7D2F5E
analogous
#377D2F #2F7D4E #2F7D75
triadic
#2F7D4E #4E2F7D #7D4E2F
tetradic
#2F7D4E #2F377D #7D2F5E #7D752F
square
#2F7D4E #2F377D #7D2F5E #7D752F
split-complementary
#2F7D4E #752F7D #7D2F37
monochromatic
#0E2416 #1E5132 #2F7D4E #40A96A #62C489
Accessibility & contrast
On white
5.04
#2F7D4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#2F7D4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7D4E
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7D4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7D4E | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D734B
Deuteranopia (green-blind)
#726C51
Tritanopia (blue-blind)
#137C71
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2f7d4e; /* rgb */ color: rgb(47, 125, 78); /* oklch */ color: oklch(52.9% 0.107 153.9);
Tailwind
colors: {
custom: {
50: '#70a380',
500: '#2f7d4e',
950: '#000000',
},
}SCSS
$custom: #2f7d4e; $custom-light: #70a380; $custom-dark: #000000;
JSON
{
"hex": "#2f7d4e",
"rgb": {
"r": 47,
"g": 125,
"b": 78
},
"hsl": {
"h": 143.846,
"s": 45.349,
"l": 33.725
},
"oklch": {
"l": 0.52867,
"c": 0.10666,
"h": 153.9
},
"luminance": 0.15822
}Semantic roles & 50–950 ramp
primary
#2F7D4E
secondary
#AB5D8C
accent
#53A1D5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C