#2F784F#2F784F
#2F784F is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.5% C 0.098 H 155.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2F784F |
|---|---|
| RGB | rgb(47, 120, 79) |
| HSL | hsl(146, 44%, 33%) |
| HSV | hsv(146, 61%, 47%) |
| CMYK | cmyk(60.8%, 0%, 34.2%, 52.9%) |
| CIE-LAB | lab(45.08, -32.89, 15.92) |
| CIE-LCH | lch(45.08, 36.54, 154.18°) |
| OKLab | oklab(51.52% -0.0895 0.0402) |
| OKLCH | oklch(51.52% 0.098 155.8) |
| XYZ | xyz(9.2993, 14.6009, 9.7238) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Sea Green
#11875D
ΔE00 5.82
Jungle Green
#048243
ΔE00 5.90
Darkish Green
#287C37
ΔE00 6.41
Sea Green
#2E8B57
ΔE00 7.00
Dark Sage
#598556
ΔE00 8.01
Spruce
#0A5F38
ΔE00 8.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F784F #782F58
analogous
#33782F #2F784F #2F7873
triadic
#2F784F #4F2F78 #784F2F
tetradic
#2F784F #2F3378 #782F58 #78732F
square
#2F784F #2F3378 #782F58 #78732F
split-complementary
#2F784F #732F78 #782F33
monochromatic
#0D2015 #1E4C32 #2F784F #40A46C #60C18B
Accessibility & contrast
On white
5.36
#2F784F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#2F784F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F784F
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F784F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F784F | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776F4C
Deuteranopia (green-blind)
#6D6852
Tritanopia (blue-blind)
#15776D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2f784f; /* rgb */ color: rgb(47, 120, 79); /* oklch */ color: oklch(51.5% 0.098 155.8);
Tailwind
colors: {
custom: {
50: '#6f9f80',
500: '#2f784f',
950: '#000000',
},
}SCSS
$custom: #2f784f; $custom-light: #6f9f80; $custom-dark: #000000;
JSON
{
"hex": "#2f784f",
"rgb": {
"r": 47,
"g": 120,
"b": 79
},
"hsl": {
"h": 146.301,
"s": 43.713,
"l": 32.745
},
"oklch": {
"l": 0.51516,
"c": 0.09808,
"h": 155.8
},
"luminance": 0.14602
}Semantic roles & 50–950 ramp
primary
#2F784F
secondary
#A85B86
accent
#549CD3
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080E0A
muted
#7B7E7C