#315331#315331
#315331 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.6% C 0.069 H 144.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #315331 |
|---|---|
| RGB | rgb(49, 83, 49) |
| HSL | hsl(120, 26%, 26%) |
| HSV | hsv(120, 41%, 33%) |
| CMYK | cmyk(41%, 0%, 41%, 67.5%) |
| CIE-LAB | lab(31.95, -20.39, 16.13) |
| CIE-LCH | lch(31.95, 26.00, 141.66°) |
| OKLab | oklab(40.62% -0.0556 0.0401) |
| OKLCH | oklch(40.62% 0.069 144.2) |
| XYZ | xyz(4.9140, 7.0610, 4.0091) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 3.69
Pine
#2B5D34
ΔE00 4.13
Forest Green
#2D5A27
ΔE00 4.84
Pine Green
#0A481E
ΔE00 6.21
Evergreen
#05472A
ΔE00 6.72
Spruce
#0A5F38
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315331 #533153
analogous
#425331 #315331 #315342
triadic
#315331 #313153 #533131
tetradic
#315331 #314253 #533153 #534231
square
#315331 #314253 #533153 #534231
split-complementary
#315331 #423153 #533142
monochromatic
#0B130B #1A2D1A #315331 #487948 #5EA05E
Accessibility & contrast
On white
8.71
#315331 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#315331 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315331
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315331 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315331 | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544D2F
Deuteranopia (green-blind)
#4F4A33
Tritanopia (blue-blind)
#2D514A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #315331; /* rgb */ color: rgb(49, 83, 49); /* oklch */ color: oklch(40.6% 0.069 144.2);
Tailwind
colors: {
custom: {
50: '#6b8369',
500: '#315331',
950: '#000000',
},
}SCSS
$custom: #315331; $custom-light: #6b8369; $custom-dark: #000000;
JSON
{
"hex": "#315331",
"rgb": {
"r": 49,
"g": 83,
"b": 49
},
"hsl": {
"h": 120,
"s": 25.758,
"l": 25.882
},
"oklch": {
"l": 0.40623,
"c": 0.06853,
"h": 144.2
},
"luminance": 0.07061
}Semantic roles & 50–950 ramp
primary
#315331
secondary
#845C84
accent
#66C2C2
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#070A06
muted
#7A7C7A