#315E2D#315E2D
#315E2D is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.7% C 0.092 H 142.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #315E2D |
|---|---|
| RGB | rgb(49, 94, 45) |
| HSL | hsl(115, 35%, 27%) |
| HSV | hsv(115, 52%, 37%) |
| CMYK | cmyk(47.9%, 0%, 52.1%, 63.1%) |
| CIE-LAB | lab(35.69, -26.60, 23.26) |
| CIE-LCH | lch(35.69, 35.34, 138.83°) |
| OKLab | oklab(43.65% -0.0725 0.0563) |
| OKLCH | oklch(43.65% 0.092 142.2) |
| XYZ | xyz(5.7427, 8.8475, 3.8872) |
| Luminance | 0.0885 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.49
Pine
#2B5D34
ΔE00 2.56
Hunter Green
#355E3B
ΔE00 3.85
Spruce
#0A5F38
ΔE00 5.82
Deep Green
#02590F
ΔE00 6.11
Forest
#0B5509
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315E2D #5A2D5E
analogous
#4A5E2D #315E2D #2D5E42
triadic
#315E2D #2D315E #5E2D31
tetradic
#315E2D #2D4A5E #5A2D5E #5E422D
square
#315E2D #2D4A5E #5A2D5E #5E422D
split-complementary
#315E2D #422D5E #5E2D4A
monochromatic
#0B150A #1B3519 #315E2D #478741 #5EAF57
Accessibility & contrast
On white
7.58
#315E2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#315E2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315E2D
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315E2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315E2D | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605629
Deuteranopia (green-blind)
#5A5230
Tritanopia (blue-blind)
#2C5B53
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #315e2d; /* rgb */ color: rgb(49, 94, 45); /* oklch */ color: oklch(43.7% 0.092 142.2);
Tailwind
colors: {
custom: {
50: '#6c8c67',
500: '#315e2d',
950: '#000000',
},
}SCSS
$custom: #315e2d; $custom-light: #6c8c67; $custom-dark: #000000;
JSON
{
"hex": "#315e2d",
"rgb": {
"r": 49,
"g": 94,
"b": 45
},
"hsl": {
"h": 115.102,
"s": 35.252,
"l": 27.255
},
"oklch": {
"l": 0.43651,
"c": 0.09181,
"h": 142.2
},
"luminance": 0.08848
}Semantic roles & 50–950 ramp
primary
#315E2D
secondary
#8B5790
accent
#5DCBC2
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A