#2F704A#2F704A
#2F704A is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.2% C 0.091 H 155.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2F704A |
|---|---|
| RGB | rgb(47, 112, 74) |
| HSL | hsl(145, 41%, 31%) |
| HSV | hsv(145, 58%, 44%) |
| CMYK | cmyk(58%, 0%, 33.9%, 56.1%) |
| CIE-LAB | lab(42.29, -30.29, 15.04) |
| CIE-LCH | lch(42.29, 33.81, 153.59°) |
| OKLab | oklab(49.19% -0.0825 0.038) |
| OKLCH | oklch(49.19% 0.091 155.3) |
| XYZ | xyz(8.2018, 12.6864, 8.4937) |
| Luminance | 0.1269 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 6.38
Hunter Green
#355E3B
ΔE00 6.56
Pine
#2B5D34
ΔE00 6.77
Darkish Green
#287C37
ΔE00 7.73
Jungle Green
#048243
ΔE00 8.05
Dark Sea Green
#11875D
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F704A #702F55
analogous
#34702F #2F704A #2F706A
triadic
#2F704A #4A2F70 #704A2F
tetradic
#2F704A #2F3470 #702F55 #706A2F
square
#2F704A #2F3470 #702F55 #706A2F
split-complementary
#2F704A #6A2F70 #702F34
monochromatic
#0B1A11 #1D452E #2F704A #419B66 #5EBB85
Accessibility & contrast
On white
5.94
#2F704A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#2F704A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F704A
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F704A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F704A | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706848
Deuteranopia (green-blind)
#67614C
Tritanopia (blue-blind)
#1B6F66
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2f704a; /* rgb */ color: rgb(47, 112, 74); /* oklch */ color: oklch(49.2% 0.091 155.3);
Tailwind
colors: {
custom: {
50: '#6e997c',
500: '#2f704a',
950: '#000000',
},
}SCSS
$custom: #2f704a; $custom-light: #6e997c; $custom-dark: #000000;
JSON
{
"hex": "#2f704a",
"rgb": {
"r": 47,
"g": 112,
"b": 74
},
"hsl": {
"h": 144.923,
"s": 40.881,
"l": 31.176
},
"oklch": {
"l": 0.49194,
"c": 0.09079,
"h": 155.3
},
"luminance": 0.12687
}Semantic roles & 50–950 ramp
primary
#2F704A
secondary
#A15A83
accent
#579ED1
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E09
muted
#7A7E7B