#315E26#315E26
#315E26 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.5% C 0.099 H 139.8°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #315E26 |
|---|---|
| RGB | rgb(49, 94, 38) |
| HSL | hsl(108, 42%, 26%) |
| HSV | hsv(108, 60%, 37%) |
| CMYK | cmyk(47.9%, 0%, 59.6%, 63.1%) |
| CIE-LAB | lab(35.59, -27.60, 27.01) |
| CIE-LCH | lch(35.59, 38.62, 135.63°) |
| OKLab | oklab(43.54% -0.0756 0.064) |
| OKLCH | oklch(43.54% 0.099 139.8) |
| XYZ | xyz(5.6190, 8.7980, 3.2354) |
| Luminance | 0.0880 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.70
Pine
#2B5D34
ΔE00 4.18
Deep Green
#02590F
ΔE00 5.20
Forest
#0B5509
ΔE00 5.47
Hunter Green
#355E3B
ΔE00 5.51
Navy Green
#35530A
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315E26 #53265E
analogous
#4D5E26 #315E26 #265E37
triadic
#315E26 #26315E #5E2631
tetradic
#315E26 #264D5E #53265E #5E3726
square
#315E26 #264D5E #53265E #5E3726
split-complementary
#315E26 #37265E #5E264D
monochromatic
#0B1609 #1A3214 #315E26 #488A38 #5EB549
Accessibility & contrast
On white
7.61
#315E26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#315E26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315E26
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315E26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315E26 | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615621
Deuteranopia (green-blind)
#5A522A
Tritanopia (blue-blind)
#2D5B52
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #315e26; /* rgb */ color: rgb(49, 94, 38); /* oklch */ color: oklch(43.5% 0.099 139.8);
Tailwind
colors: {
custom: {
50: '#6d8c62',
500: '#315e26',
950: '#000000',
},
}SCSS
$custom: #315e26; $custom-light: #6d8c62; $custom-dark: #000000;
JSON
{
"hex": "#315e26",
"rgb": {
"r": 49,
"g": 94,
"b": 38
},
"hsl": {
"h": 108.214,
"s": 42.424,
"l": 25.882
},
"oklch": {
"l": 0.43541,
"c": 0.0991,
"h": 139.8
},
"luminance": 0.08798
}Semantic roles & 50–950 ramp
primary
#315E26
secondary
#844F91
accent
#56D2BA
background
#F6F8F5
surface
#ECF0EA
border
#C7CBC6
text
#070C05
muted
#7A7D79