#2F704E#2F704E
#2F704E is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.3% C 0.087 H 158.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2F704E |
|---|---|
| RGB | rgb(47, 112, 78) |
| HSL | hsl(149, 41%, 31%) |
| HSV | hsv(149, 58%, 44%) |
| CMYK | cmyk(58%, 0%, 30.4%, 56.1%) |
| CIE-LAB | lab(42.37, -29.41, 12.80) |
| CIE-LCH | lch(42.37, 32.07, 156.49°) |
| OKLab | oklab(49.29% -0.0804 0.0325) |
| OKLCH | oklch(49.29% 0.087 158) |
| XYZ | xyz(8.3409, 12.7420, 9.2261) |
| Luminance | 0.1274 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 6.65
Hunter Green
#355E3B
ΔE00 6.80
Pine
#2B5D34
ΔE00 7.26
Dark Sea Green
#11875D
ΔE00 8.42
Darkish Green
#287C37
ΔE00 8.77
Jungle Green
#048243
ΔE00 8.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F704E #702F51
analogous
#30702F #2F704E #2F706E
triadic
#2F704E #4E2F70 #704E2F
tetradic
#2F704E #2F3070 #702F51 #706E2F
square
#2F704E #2F3070 #702F51 #706E2F
split-complementary
#2F704E #6E2F70 #702F30
monochromatic
#0B1A12 #1D4530 #2F704E #419B6C #5EBB8B
Accessibility & contrast
On white
5.92
#2F704E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#2F704E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F704E
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F704E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F704E | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F684C
Deuteranopia (green-blind)
#666150
Tritanopia (blue-blind)
#196F67
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2f704e; /* rgb */ color: rgb(47, 112, 78); /* oklch */ color: oklch(49.3% 0.087 158.0);
Tailwind
colors: {
custom: {
50: '#6e997f',
500: '#2f704e',
950: '#000000',
},
}SCSS
$custom: #2f704e; $custom-light: #6e997f; $custom-dark: #000000;
JSON
{
"hex": "#2f704e",
"rgb": {
"r": 47,
"g": 112,
"b": 78
},
"hsl": {
"h": 148.615,
"s": 40.881,
"l": 31.176
},
"oklch": {
"l": 0.49292,
"c": 0.08675,
"h": 158
},
"luminance": 0.12743
}Semantic roles & 50–950 ramp
primary
#2F704E
secondary
#A15A7F
accent
#5797D1
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C