#2F5C2D#2F5C2D
#2F5C2D is a dark, moderate green. Relative luminance 0.084; OKLCH L 43.0% C 0.090 H 143.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5C2D |
|---|---|
| RGB | rgb(47, 92, 45) |
| HSL | hsl(117, 34%, 27%) |
| HSV | hsv(117, 51%, 36%) |
| CMYK | cmyk(48.9%, 0%, 51.1%, 63.9%) |
| CIE-LAB | lab(34.90, -26.31, 22.26) |
| CIE-LCH | lch(34.90, 34.47, 139.77°) |
| OKLab | oklab(42.98% -0.0717 0.054) |
| OKLCH | oklch(42.98% 0.09 143) |
| XYZ | xyz(5.4728, 8.4477, 3.8243) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.28
Pine
#2B5D34
ΔE00 2.09
Hunter Green
#355E3B
ΔE00 3.53
Spruce
#0A5F38
ΔE00 5.49
Deep Green
#02590F
ΔE00 6.16
Forest
#0B5509
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5C2D #5A2D5C
analogous
#475C2D #2F5C2D #2D5C43
triadic
#2F5C2D #2D2F5C #5C2D2F
tetradic
#2F5C2D #2D475C #5A2D5C #5C432D
square
#2F5C2D #2D475C #5A2D5C #5C432D
split-complementary
#2F5C2D #432D5C #5C2D47
monochromatic
#0A150A #1A3319 #2F5C2D #448541 #5AAD57
Accessibility & contrast
On white
7.81
#2F5C2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2F5C2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5C2D
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5C2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5C2D | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5529
Deuteranopia (green-blind)
#585030
Tritanopia (blue-blind)
#2A5A51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2f5c2d; /* rgb */ color: rgb(47, 92, 45); /* oklch */ color: oklch(43.0% 0.090 143.0);
Tailwind
colors: {
custom: {
50: '#6b8a67',
500: '#2f5c2d',
950: '#000000',
},
}SCSS
$custom: #2f5c2d; $custom-light: #6b8a67; $custom-dark: #000000;
JSON
{
"hex": "#2f5c2d",
"rgb": {
"r": 47,
"g": 92,
"b": 45
},
"hsl": {
"h": 117.447,
"s": 34.307,
"l": 26.863
},
"oklch": {
"l": 0.42979,
"c": 0.08976,
"h": 143
},
"luminance": 0.08448
}Semantic roles & 50–950 ramp
primary
#2F5C2D
secondary
#8C578E
accent
#5DCAC6
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C06
muted
#7A7D7A