#2F851C#2F851C
#2F851C is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.161 H 140.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2F851C |
|---|---|
| RGB | rgb(47, 133, 28) |
| HSL | hsl(109, 65%, 32%) |
| HSV | hsv(109, 79%, 52%) |
| CMYK | cmyk(64.7%, 0%, 78.9%, 47.8%) |
| CIE-LAB | lab(48.84, -45.26, 45.56) |
| CIE-LCH | lch(48.84, 64.22, 134.81°) |
| OKLab | oklab(54.4% -0.124 0.102) |
| OKLCH | oklch(54.4% 0.161 140.6) |
| XYZ | xyz(9.7689, 17.4623, 3.9541) |
| Luminance | 0.1746 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.38
Tree Green
#2A7E19
ΔE00 2.55
Dark Grass Green
#388004
ΔE00 2.91
Green
#008000
ΔE00 3.24
Emerald Green
#028F1E
ΔE00 3.96
True Green
#089404
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F851C #721C85
analogous
#64851C #2F851C #1C853E
triadic
#2F851C #1C2F85 #851C2F
tetradic
#2F851C #1C6485 #721C85 #853E1C
square
#2F851C #1C6485 #721C85 #853E1C
split-complementary
#2F851C #3E1C85 #851C64
monochromatic
#0B2007 #1D5211 #2F851C #41B827 #5FD844
Accessibility & contrast
On white
4.67
#2F851C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#2F851C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F851C
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F851C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F851C | 1.00 | 4.67 | 4.49 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897803
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#228171
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #2f851c; /* rgb */ color: rgb(47, 133, 28); /* oklch */ color: oklch(54.4% 0.161 140.6);
Tailwind
colors: {
custom: {
50: '#74a961',
500: '#2f851c',
950: '#000000',
},
}SCSS
$custom: #2f851c; $custom-light: #74a961; $custom-dark: #000000;
JSON
{
"hex": "#2f851c",
"rgb": {
"r": 47,
"g": 133,
"b": 28
},
"hsl": {
"h": 109.143,
"s": 65.217,
"l": 31.569
},
"oklch": {
"l": 0.54403,
"c": 0.16055,
"h": 140.6
},
"luminance": 0.17463
}Semantic roles & 50–950 ramp
primary
#2F851C
secondary
#A345B8
accent
#40E8CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A