#2F571C#2F571C
#2F571C is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.3% C 0.099 H 137.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2F571C |
|---|---|
| RGB | rgb(47, 87, 28) |
| HSL | hsl(101, 51%, 23%) |
| HSV | hsv(101, 68%, 34%) |
| CMYK | cmyk(46%, 0%, 67.8%, 65.9%) |
| CIE-LAB | lab(32.93, -26.21, 29.12) |
| CIE-LCH | lch(32.93, 39.18, 132.00°) |
| OKLab | oklab(41.3% -0.0725 0.0675) |
| OKLCH | oklch(41.3% 0.099 137) |
| XYZ | xyz(4.7899, 7.5043, 2.2945) |
| Luminance | 0.0751 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.52
Navy Green
#35530A
ΔE00 3.87
Forest
#0B5509
ΔE00 4.49
Deep Green
#02590F
ΔE00 4.96
Pine
#2B5D34
ΔE00 5.72
Bottle Green
#044A05
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F571C #441C57
analogous
#4C571C #2F571C #1C5727
triadic
#2F571C #1C2F57 #571C2F
tetradic
#2F571C #1C4C57 #441C57 #57271C
square
#2F571C #1C4C57 #441C57 #57271C
split-complementary
#2F571C #271C57 #571C4C
monochromatic
#0D1707 #16290D #2F571C #48852B #61B43A
Accessibility & contrast
On white
8.40
#2F571C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2F571C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F571C
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F571C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F571C | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5015
Deuteranopia (green-blind)
#554C21
Tritanopia (blue-blind)
#2D544B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2f571c; /* rgb */ color: rgb(47, 87, 28); /* oklch */ color: oklch(41.3% 0.099 137.0);
Tailwind
colors: {
custom: {
50: '#6b875b',
500: '#2f571c',
950: '#000000',
},
}SCSS
$custom: #2f571c; $custom-light: #6b875b; $custom-dark: #000000;
JSON
{
"hex": "#2f571c",
"rgb": {
"r": 47,
"g": 87,
"b": 28
},
"hsl": {
"h": 100.678,
"s": 51.304,
"l": 22.549
},
"oklch": {
"l": 0.41296,
"c": 0.09904,
"h": 137
},
"luminance": 0.07505
}Semantic roles & 50–950 ramp
primary
#2F571C
secondary
#75428D
accent
#4DDBAD
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79