#2F704F#2F704F
#2F704F is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.3% C 0.086 H 158.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2F704F |
|---|---|
| RGB | rgb(47, 112, 79) |
| HSL | hsl(150, 41%, 31%) |
| HSV | hsv(150, 58%, 44%) |
| CMYK | cmyk(58%, 0%, 29.5%, 56.1%) |
| CIE-LAB | lab(42.39, -29.19, 12.23) |
| CIE-LCH | lch(42.39, 31.65, 157.26°) |
| OKLab | oklab(49.32% -0.0799 0.0311) |
| OKLCH | oklch(49.32% 0.086 158.7) |
| XYZ | xyz(8.3770, 12.7564, 9.4164) |
| Luminance | 0.1276 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 6.75
Hunter Green
#355E3B
ΔE00 6.89
Pine
#2B5D34
ΔE00 7.41
Dark Sea Green
#11875D
ΔE00 8.44
Dark Green Blue
#1F6357
ΔE00 8.61
Jungle Green
#048243
ΔE00 8.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F704F #702F50
analogous
#2F702F #2F704F #2F706F
triadic
#2F704F #4F2F70 #704F2F
tetradic
#2F704F #2F2F70 #702F50 #706F2F
square
#2F704F #2F2F70 #702F50 #706F2F
split-complementary
#2F704F #6F2F70 #702F2F
monochromatic
#0B1A12 #1D4531 #2F704F #419B6D #5EBB8C
Accessibility & contrast
On white
5.91
#2F704F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#2F704F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F704F
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F704F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F704F | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F684D
Deuteranopia (green-blind)
#666151
Tritanopia (blue-blind)
#186F67
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2f704f; /* rgb */ color: rgb(47, 112, 79); /* oklch */ color: oklch(49.3% 0.086 158.7);
Tailwind
colors: {
custom: {
50: '#6e9980',
500: '#2f704f',
950: '#000000',
},
}SCSS
$custom: #2f704f; $custom-light: #6e9980; $custom-dark: #000000;
JSON
{
"hex": "#2f704f",
"rgb": {
"r": 47,
"g": 112,
"b": 79
},
"hsl": {
"h": 149.538,
"s": 40.881,
"l": 31.176
},
"oklch": {
"l": 0.49317,
"c": 0.08577,
"h": 158.7
},
"luminance": 0.12757
}Semantic roles & 50–950 ramp
primary
#2F704F
secondary
#A15A7E
accent
#5795D1
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C