#2F714F#2F714F
#2F714F is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.6% C 0.087 H 158.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F714F |
|---|---|
| RGB | rgb(47, 113, 79) |
| HSL | hsl(149, 41%, 31%) |
| HSV | hsv(149, 58%, 44%) |
| CMYK | cmyk(58.4%, 0%, 30.1%, 55.7%) |
| CIE-LAB | lab(42.73, -29.66, 12.70) |
| CIE-LCH | lch(42.73, 32.26, 156.82°) |
| OKLab | oklab(49.59% -0.0811 0.0323) |
| OKLCH | oklch(49.59% 0.087 158.3) |
| XYZ | xyz(8.4880, 12.9783, 9.4534) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 6.95
Hunter Green
#355E3B
ΔE00 7.14
Pine
#2B5D34
ΔE00 7.60
Dark Sea Green
#11875D
ΔE00 8.08
Jungle Green
#048243
ΔE00 8.58
Darkish Green
#287C37
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F714F #712F51
analogous
#30712F #2F714F #2F7170
triadic
#2F714F #4F2F71 #714F2F
tetradic
#2F714F #2F3071 #712F51 #71702F
square
#2F714F #2F3071 #712F51 #71702F
split-complementary
#2F714F #702F71 #712F30
monochromatic
#0B1B13 #1D4631 #2F714F #419C6D #5EBC8C
Accessibility & contrast
On white
5.84
#2F714F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#2F714F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F714F
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F714F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F714F | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70694D
Deuteranopia (green-blind)
#676251
Tritanopia (blue-blind)
#187068
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2f714f; /* rgb */ color: rgb(47, 113, 79); /* oklch */ color: oklch(49.6% 0.087 158.3);
Tailwind
colors: {
custom: {
50: '#6e9a80',
500: '#2f714f',
950: '#000000',
},
}SCSS
$custom: #2f714f; $custom-light: #6e9a80; $custom-dark: #000000;
JSON
{
"hex": "#2f714f",
"rgb": {
"r": 47,
"g": 113,
"b": 79
},
"hsl": {
"h": 149.091,
"s": 41.25,
"l": 31.373
},
"oklch": {
"l": 0.49592,
"c": 0.08733,
"h": 158.3
},
"luminance": 0.12979
}Semantic roles & 50–950 ramp
primary
#2F714F
secondary
#A25A7F
accent
#5796D1
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C