#315E1F#315E1F
#315E1F is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.4% C 0.106 H 137.9°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #315E1F |
|---|---|
| RGB | rgb(49, 94, 31) |
| HSL | hsl(103, 50%, 25%) |
| HSV | hsv(103, 67%, 37%) |
| CMYK | cmyk(47.9%, 0%, 67%, 63.1%) |
| CIE-LAB | lab(35.51, -28.45, 30.52) |
| CIE-LCH | lch(35.51, 41.72, 132.98°) |
| OKLab | oklab(43.45% -0.0785 0.0709) |
| OKLCH | oklch(43.45% 0.106 137.9) |
| XYZ | xyz(5.5165, 8.7570, 2.6956) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.89
Deep Green
#02590F
ΔE00 4.79
Forest
#0B5509
ΔE00 4.93
Navy Green
#35530A
ΔE00 5.06
Pine
#2B5D34
ΔE00 5.66
Darkgreen
#006400
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315E1F #4C1F5E
analogous
#515E1F #315E1F #1F5E2D
triadic
#315E1F #1F315E #5E1F31
tetradic
#315E1F #1F515E #4C1F5E #5E2D1F
square
#315E1F #1F515E #4C1F5E #5E2D1F
split-complementary
#315E1F #2D1F5E #5E1F51
monochromatic
#0C1708 #193010 #315E1F #498C2E #61BA3D
Accessibility & contrast
On white
7.63
#315E1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#315E1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315E1F
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315E1F | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615618
Deuteranopia (green-blind)
#5B5224
Tritanopia (blue-blind)
#2E5B51
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #315e1f; /* rgb */ color: rgb(49, 94, 31); /* oklch */ color: oklch(43.4% 0.106 137.9);
Tailwind
colors: {
custom: {
50: '#6d8c5e',
500: '#315e1f',
950: '#000000',
},
}SCSS
$custom: #315e1f; $custom-light: #6d8c5e; $custom-dark: #000000;
JSON
{
"hex": "#315e1f",
"rgb": {
"r": 49,
"g": 94,
"b": 31
},
"hsl": {
"h": 102.857,
"s": 50.4,
"l": 24.51
},
"oklch": {
"l": 0.43449,
"c": 0.10571,
"h": 137.9
},
"luminance": 0.08757
}Semantic roles & 50–950 ramp
primary
#315E1F
secondary
#7D4693
accent
#4EDAB2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79