#2F794B#2F794B
#2F794B is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.7% C 0.104 H 153.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2F794B |
|---|---|
| RGB | rgb(47, 121, 75) |
| HSL | hsl(143, 44%, 33%) |
| HSV | hsv(143, 61%, 47%) |
| CMYK | cmyk(61.2%, 0%, 38%, 52.5%) |
| CIE-LAB | lab(45.34, -34.17, 18.57) |
| CIE-LCH | lch(45.34, 38.89, 151.47°) |
| OKLab | oklab(51.7% -0.0926 0.0465) |
| OKLCH | oklch(51.7% 0.104 153.3) |
| XYZ | xyz(9.2789, 14.7862, 9.0203) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 4.84
Darkish Green
#287C37
ΔE00 5.08
Dark Sea Green
#11875D
ΔE00 5.93
Sea Green
#2E8B57
ΔE00 6.49
Dark Sage
#598556
ΔE00 7.56
Spruce
#0A5F38
ΔE00 9.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F794B #792F5D
analogous
#38792F #2F794B #2F7970
triadic
#2F794B #4B2F79 #794B2F
tetradic
#2F794B #2F3879 #792F5D #79702F
square
#2F794B #2F3879 #792F5D #79702F
split-complementary
#2F794B #702F79 #792F38
monochromatic
#0D2114 #1E4D30 #2F794B #40A566 #61C285
Accessibility & contrast
On white
5.31
#2F794B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#2F794B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F794B
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F794B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F794B | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#797048
Deuteranopia (green-blind)
#6F694E
Tritanopia (blue-blind)
#17776D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2f794b; /* rgb */ color: rgb(47, 121, 75); /* oklch */ color: oklch(51.7% 0.104 153.3);
Tailwind
colors: {
custom: {
50: '#6fa07d',
500: '#2f794b',
950: '#000000',
},
}SCSS
$custom: #2f794b; $custom-light: #6fa07d; $custom-dark: #000000;
JSON
{
"hex": "#2f794b",
"rgb": {
"r": 47,
"g": 121,
"b": 75
},
"hsl": {
"h": 142.703,
"s": 44.048,
"l": 32.941
},
"oklch": {
"l": 0.51701,
"c": 0.10367,
"h": 153.3
},
"luminance": 0.14787
}Semantic roles & 50–950 ramp
primary
#2F794B
secondary
#A85B8B
accent
#54A3D4
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080F09
muted
#7B7E7B