#2F784C#2F784C
#2F784C is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.4% C 0.101 H 154.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2F784C |
|---|---|
| RGB | rgb(47, 120, 76) |
| HSL | hsl(144, 44%, 33%) |
| HSV | hsv(144, 61%, 47%) |
| CMYK | cmyk(60.8%, 0%, 36.7%, 52.9%) |
| CIE-LAB | lab(45.02, -33.52, 17.57) |
| CIE-LCH | lch(45.02, 37.85, 152.34°) |
| OKLab | oklab(51.45% -0.091 0.0441) |
| OKLCH | oklch(51.45% 0.101 154.1) |
| XYZ | xyz(9.1925, 14.5582, 9.1617) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 5.35
Darkish Green
#287C37
ΔE00 5.60
Dark Sea Green
#11875D
ΔE00 6.05
Sea Green
#2E8B57
ΔE00 6.87
Dark Sage
#598556
ΔE00 7.83
Spruce
#0A5F38
ΔE00 8.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F784C #782F5B
analogous
#36782F #2F784C #2F7871
triadic
#2F784C #4C2F78 #784C2F
tetradic
#2F784C #2F3678 #782F5B #78712F
square
#2F784C #2F3678 #782F5B #78712F
split-complementary
#2F784C #712F78 #782F36
monochromatic
#0D2014 #1E4C30 #2F784C #40A468 #60C187
Accessibility & contrast
On white
5.37
#2F784C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#2F784C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F784C
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F784C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F784C | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786F49
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#17776D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2f784c; /* rgb */ color: rgb(47, 120, 76); /* oklch */ color: oklch(51.4% 0.101 154.1);
Tailwind
colors: {
custom: {
50: '#6f9f7e',
500: '#2f784c',
950: '#000000',
},
}SCSS
$custom: #2f784c; $custom-light: #6f9f7e; $custom-dark: #000000;
JSON
{
"hex": "#2f784c",
"rgb": {
"r": 47,
"g": 120,
"b": 76
},
"hsl": {
"h": 143.836,
"s": 43.713,
"l": 32.745
},
"oklch": {
"l": 0.51448,
"c": 0.10112,
"h": 154.1
},
"luminance": 0.14559
}Semantic roles & 50–950 ramp
primary
#2F784C
secondary
#A85B89
accent
#54A1D3
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080E0A
muted
#7B7E7C