#2F862F#2F862F
#2F862F is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.149 H 143.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2F862F |
|---|---|
| RGB | rgb(47, 134, 47) |
| HSL | hsl(120, 48%, 35%) |
| HSV | hsv(120, 65%, 53%) |
| CMYK | cmyk(64.9%, 0%, 64.9%, 47.5%) |
| CIE-LAB | lab(49.32, -43.89, 38.26) |
| CIE-LCH | lch(49.32, 58.22, 138.92°) |
| OKLab | oklab(54.85% -0.1192 0.0891) |
| OKLCH | oklch(54.85% 0.149 143.2) |
| XYZ | xyz(10.2099, 17.8588, 5.5978) |
| Luminance | 0.1786 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.68
Tree Green
#2A7E19
ΔE00 3.69
Emerald Green
#028F1E
ΔE00 4.18
Darkish Green
#287C37
ΔE00 4.54
Green
#008000
ΔE00 4.83
Kelley Green
#009337
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F862F #862F86
analogous
#5A862F #2F862F #2F865A
triadic
#2F862F #2F2F86 #862F2F
tetradic
#2F862F #2F5A86 #862F86 #865A2F
square
#2F862F #2F5A86 #862F86 #865A2F
split-complementary
#2F862F #5A2F86 #862F5A
monochromatic
#0F2B0F #1F591F #2F862F #3FB33F #66C966
Accessibility & contrast
On white
4.59
#2F862F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#2F862F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2F862F
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F862F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F862F | 1.00 | 4.59 | 4.57 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#7E7236
Tritanopia (blue-blind)
#1D8274
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2f862f; /* rgb */ color: rgb(47, 134, 47); /* oklch */ color: oklch(54.9% 0.149 143.2);
Tailwind
colors: {
custom: {
50: '#73aa6b',
500: '#2f862f',
950: '#000000',
},
}SCSS
$custom: #2f862f; $custom-light: #73aa6b; $custom-dark: #000000;
JSON
{
"hex": "#2f862f",
"rgb": {
"r": 47,
"g": 134,
"b": 47
},
"hsl": {
"h": 120,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.54854,
"c": 0.14884,
"h": 143.2
},
"luminance": 0.1786
}Semantic roles & 50–950 ramp
primary
#2F862F
secondary
#B060B0
accent
#50D8D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A