#315E22#315E22
#315E22 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.5% C 0.103 H 138.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #315E22 |
|---|---|
| RGB | rgb(49, 94, 34) |
| HSL | hsl(105, 47%, 25%) |
| HSV | hsv(105, 64%, 37%) |
| CMYK | cmyk(47.9%, 0%, 63.8%, 63.1%) |
| CIE-LAB | lab(35.54, -28.10, 29.05) |
| CIE-LCH | lch(35.54, 40.42, 134.05°) |
| OKLab | oklab(43.49% -0.0773 0.0681) |
| OKLCH | oklch(43.49% 0.103 138.6) |
| XYZ | xyz(5.5579, 8.7735, 2.9137) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.36
Deep Green
#02590F
ΔE00 4.90
Pine
#2B5D34
ΔE00 5.05
Forest
#0B5509
ΔE00 5.10
Navy Green
#35530A
ΔE00 5.43
Darkgreen
#006400
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315E22 #4F225E
analogous
#4F5E22 #315E22 #225E31
triadic
#315E22 #22315E #5E2231
tetradic
#315E22 #224F5E #4F225E #5E3122
square
#315E22 #224F5E #4F225E #5E3122
split-complementary
#315E22 #31225E #5E224F
monochromatic
#0C1608 #1A3112 #315E22 #488B32 #60B843
Accessibility & contrast
On white
7.62
#315E22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#315E22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315E22
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315E22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315E22 | 1.00 | 7.62 | 2.75 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61561C
Deuteranopia (green-blind)
#5B5227
Tritanopia (blue-blind)
#2E5B51
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #315e22; /* rgb */ color: rgb(49, 94, 34); /* oklch */ color: oklch(43.5% 0.103 138.6);
Tailwind
colors: {
custom: {
50: '#6d8c5f',
500: '#315e22',
950: '#000000',
},
}SCSS
$custom: #315e22; $custom-light: #6d8c5f; $custom-dark: #000000;
JSON
{
"hex": "#315e22",
"rgb": {
"r": 49,
"g": 94,
"b": 34
},
"hsl": {
"h": 105,
"s": 46.875,
"l": 25.098
},
"oklch": {
"l": 0.43486,
"c": 0.10298,
"h": 138.6
},
"luminance": 0.08774
}Semantic roles & 50–950 ramp
primary
#315E22
secondary
#804A92
accent
#51D7B5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C05
muted
#7A7D79