#2F571F#2F571F
#2F571F is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.3% C 0.096 H 137.8°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2F571F |
|---|---|
| RGB | rgb(47, 87, 31) |
| HSL | hsl(103, 47%, 23%) |
| HSV | hsv(103, 64%, 34%) |
| CMYK | cmyk(46%, 0%, 64.4%, 65.9%) |
| CIE-LAB | lab(32.96, -25.87, 27.62) |
| CIE-LCH | lch(32.96, 37.85, 133.12°) |
| OKLab | oklab(41.33% -0.0713 0.0647) |
| OKLCH | oklch(41.33% 0.096 137.8) |
| XYZ | xyz(4.8277, 7.5194, 2.4931) |
| Luminance | 0.0752 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.97
Navy Green
#35530A
ΔE00 4.41
Forest
#0B5509
ΔE00 4.73
Deep Green
#02590F
ΔE00 5.11
Pine
#2B5D34
ΔE00 5.13
Bottle Green
#044A05
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F571F #471F57
analogous
#4B571F #2F571F #1F572B
triadic
#2F571F #1F2F57 #571F2F
tetradic
#2F571F #1F4B57 #471F57 #572B1F
square
#2F571F #1F4B57 #471F57 #572B1F
split-complementary
#2F571F #2B1F57 #571F4B
monochromatic
#0C1708 #172A0F #2F571F #47842F #60B13F
Accessibility & contrast
On white
8.39
#2F571F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2F571F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F571F
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F571F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F571F | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5019
Deuteranopia (green-blind)
#544C23
Tritanopia (blue-blind)
#2D544B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f571f; /* rgb */ color: rgb(47, 87, 31); /* oklch */ color: oklch(41.3% 0.096 137.8);
Tailwind
colors: {
custom: {
50: '#6b875d',
500: '#2f571f',
950: '#000000',
},
}SCSS
$custom: #2f571f; $custom-light: #6b875d; $custom-dark: #000000;
JSON
{
"hex": "#2f571f",
"rgb": {
"r": 47,
"g": 87,
"b": 31
},
"hsl": {
"h": 102.857,
"s": 47.458,
"l": 23.137
},
"oklch": {
"l": 0.41333,
"c": 0.09627,
"h": 137.8
},
"luminance": 0.0752
}Semantic roles & 50–950 ramp
primary
#2F571F
secondary
#78468C
accent
#51D7B1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79