#2F792E#2F792E
#2F792E is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.132 H 143.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2F792E |
|---|---|
| RGB | rgb(47, 121, 46) |
| HSL | hsl(119, 45%, 33%) |
| HSV | hsv(119, 62%, 47%) |
| CMYK | cmyk(61.2%, 0%, 62%, 52.5%) |
| CIE-LAB | lab(44.91, -38.92, 33.73) |
| CIE-LCH | lch(44.91, 51.50, 139.09°) |
| OKLab | oklab(51.2% -0.1058 0.0793) |
| OKLCH | oklch(51.2% 0.132 143.1) |
| XYZ | xyz(8.5023, 14.4756, 4.9302) |
| Luminance | 0.1448 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.06
Tree Green
#2A7E19
ΔE00 3.81
Jungle Green
#048243
ΔE00 5.54
Green
#008000
ΔE00 5.72
Dark Grass Green
#388004
ΔE00 6.28
Forestgreen (CSS)
#228B22
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F792E #782E79
analogous
#54792E #2F792E #2E7952
triadic
#2F792E #2E2F79 #792E2F
tetradic
#2F792E #2E5479 #782E79 #79522E
square
#2F792E #2E5479 #782E79 #79522E
split-complementary
#2F792E #522E79 #792E54
monochromatic
#0D200C #1E4D1D #2F792E #40A53F #60C25F
Accessibility & contrast
On white
5.39
#2F792E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#2F792E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F792E
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F792E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F792E | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6E26
Deuteranopia (green-blind)
#726834
Tritanopia (blue-blind)
#227669
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #2f792e; /* rgb */ color: rgb(47, 121, 46); /* oklch */ color: oklch(51.2% 0.132 143.1);
Tailwind
colors: {
custom: {
50: '#70a069',
500: '#2f792e',
950: '#000000',
},
}SCSS
$custom: #2f792e; $custom-light: #70a069; $custom-dark: #000000;
JSON
{
"hex": "#2f792e",
"rgb": {
"r": 47,
"g": 121,
"b": 46
},
"hsl": {
"h": 119.2,
"s": 44.91,
"l": 32.745
},
"oklch": {
"l": 0.51204,
"c": 0.13222,
"h": 143.1
},
"luminance": 0.14476
}Semantic roles & 50–950 ramp
primary
#2F792E
secondary
#A85AA9
accent
#53D5D3
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A