#315F28#315F28
#315F28 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.9% C 0.099 H 140.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #315F28 |
|---|---|
| RGB | rgb(49, 95, 40) |
| HSL | hsl(110, 41%, 26%) |
| HSV | hsv(110, 58%, 37%) |
| CMYK | cmyk(48.4%, 0%, 57.9%, 62.7%) |
| CIE-LAB | lab(35.97, -27.80, 26.37) |
| CIE-LCH | lch(35.97, 38.32, 136.51°) |
| OKLab | oklab(43.86% -0.0761 0.0628) |
| OKLCH | oklch(43.86% 0.099 140.4) |
| XYZ | xyz(5.7416, 8.9902, 3.4398) |
| Luminance | 0.0899 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.80
Pine
#2B5D34
ΔE00 3.89
Hunter Green
#355E3B
ΔE00 5.22
Deep Green
#02590F
ΔE00 5.37
Forest
#0B5509
ΔE00 5.75
Navy Green
#35530A
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315F28 #56285F
analogous
#4D5F28 #315F28 #285F3B
triadic
#315F28 #28315F #5F2831
tetradic
#315F28 #284D5F #56285F #5F3B28
square
#315F28 #284D5F #56285F #5F3B28
split-complementary
#315F28 #3B285F #5F284D
monochromatic
#0B1609 #1B3416 #315F28 #478A3A #5EB44D
Accessibility & contrast
On white
7.50
#315F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#315F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315F28
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315F28 | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615723
Deuteranopia (green-blind)
#5B532C
Tritanopia (blue-blind)
#2D5C53
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #315f28; /* rgb */ color: rgb(49, 95, 40); /* oklch */ color: oklch(43.9% 0.099 140.4);
Tailwind
colors: {
custom: {
50: '#6d8d63',
500: '#315f28',
950: '#000000',
},
}SCSS
$custom: #315f28; $custom-light: #6d8d63; $custom-dark: #000000;
JSON
{
"hex": "#315f28",
"rgb": {
"r": 49,
"g": 95,
"b": 40
},
"hsl": {
"h": 110.182,
"s": 40.741,
"l": 26.471
},
"oklch": {
"l": 0.43855,
"c": 0.09866,
"h": 140.4
},
"luminance": 0.08991
}Semantic roles & 50–950 ramp
primary
#315F28
secondary
#875192
accent
#57D1BD
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C05
muted
#7A7D7A