#2F951F#2F951F
#2F951F is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.9% C 0.178 H 141.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2F951F |
|---|---|
| RGB | rgb(47, 149, 31) |
| HSL | hsl(112, 66%, 35%) |
| HSV | hsv(112, 79%, 58%) |
| CMYK | cmyk(68.5%, 0%, 79.2%, 41.6%) |
| CIE-LAB | lab(54.24, -50.75, 49.77) |
| CIE-LCH | lch(54.24, 71.08, 135.56°) |
| OKLab | oklab(58.88% -0.1386 0.1112) |
| OKLCH | oklch(58.88% 0.178 141.3) |
| XYZ | xyz(12.1664, 22.1969, 4.9393) |
| Luminance | 0.2220 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 2.07
Irish Green
#019529
ΔE00 2.67
Emerald Green
#028F1E
ΔE00 3.18
Grass Green
#3F9B0B
ΔE00 3.35
Forestgreen (CSS)
#228B22
ΔE00 3.88
Grassy Green
#419C03
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F951F #851F95
analogous
#6A951F #2F951F #1F954A
triadic
#2F951F #1F2F95 #951F2F
tetradic
#2F951F #1F6A95 #851F95 #954A1F
square
#2F951F #1F6A95 #851F95 #954A1F
split-complementary
#2F951F #4A1F95 #951F6A
monochromatic
#0F300A #1F6214 #2F951F #3FC82A #66DB53
Accessibility & contrast
On white
3.86
#2F951F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#2F951F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F951F
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F951F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F951F | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#1A907F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #2f951f; /* rgb */ color: rgb(47, 149, 31); /* oklch */ color: oklch(58.9% 0.178 141.3);
Tailwind
colors: {
custom: {
50: '#77b564',
500: '#2f951f',
950: '#000000',
},
}SCSS
$custom: #2f951f; $custom-light: #77b564; $custom-dark: #000000;
JSON
{
"hex": "#2f951f",
"rgb": {
"r": 47,
"g": 149,
"b": 31
},
"hsl": {
"h": 111.864,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.58881,
"c": 0.17773,
"h": 141.3
},
"luminance": 0.22198
}Semantic roles & 50–950 ramp
primary
#2F951F
secondary
#B051BF
accent
#3FE9D2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A