#2F7952#2F7952
#2F7952 is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.9% C 0.097 H 157.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7952 |
|---|---|
| RGB | rgb(47, 121, 82) |
| HSL | hsl(148, 44%, 33%) |
| HSV | hsv(148, 61%, 47%) |
| CMYK | cmyk(61.2%, 0%, 32.2%, 52.5%) |
| CIE-LAB | lab(45.48, -32.70, 14.72) |
| CIE-LCH | lch(45.48, 35.86, 155.77°) |
| OKLab | oklab(51.86% -0.0891 0.0373) |
| OKLCH | oklch(51.86% 0.097 157.3) |
| XYZ | xyz(9.5318, 14.8874, 10.3522) |
| Luminance | 0.1489 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Sea Green
#11875D
ΔE00 5.38
Jungle Green
#048243
ΔE00 6.18
Sea Green
#2E8B57
ΔE00 6.83
Darkish Green
#287C37
ΔE00 6.98
Dark Sage
#598556
ΔE00 8.01
Viridian
#1E9167
ΔE00 8.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7952 #792F56
analogous
#31792F #2F7952 #2F7977
triadic
#2F7952 #522F79 #79522F
tetradic
#2F7952 #2F3179 #792F56 #79772F
square
#2F7952 #2F3179 #792F56 #79772F
split-complementary
#2F7952 #772F79 #792F31
monochromatic
#0D2116 #1E4D34 #2F7952 #40A570 #61C28F
Accessibility & contrast
On white
5.28
#2F7952 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#2F7952 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7952
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7952 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7952 | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#787050
Deuteranopia (green-blind)
#6E6954
Tritanopia (blue-blind)
#12786F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2f7952; /* rgb */ color: rgb(47, 121, 82); /* oklch */ color: oklch(51.9% 0.097 157.3);
Tailwind
colors: {
custom: {
50: '#6fa082',
500: '#2f7952',
950: '#000000',
},
}SCSS
$custom: #2f7952; $custom-light: #6fa082; $custom-dark: #000000;
JSON
{
"hex": "#2f7952",
"rgb": {
"r": 47,
"g": 121,
"b": 82
},
"hsl": {
"h": 148.378,
"s": 44.048,
"l": 32.941
},
"oklch": {
"l": 0.51861,
"c": 0.09662,
"h": 157.3
},
"luminance": 0.14888
}Semantic roles & 50–950 ramp
primary
#2F7952
secondary
#A85B84
accent
#5497D4
background
#F7F9F8
surface
#EDF2EF
border
#C8CCCA
text
#080F0A
muted
#7B7E7C