#316518#316518
#316518 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.4% C 0.121 H 137.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #316518 |
|---|---|
| RGB | rgb(49, 101, 24) |
| HSL | hsl(101, 62%, 25%) |
| HSV | hsv(101, 76%, 40%) |
| CMYK | cmyk(51.5%, 0%, 76.2%, 60.4%) |
| CIE-LAB | lab(37.89, -32.26, 36.23) |
| CIE-LCH | lch(37.89, 48.51, 131.68°) |
| OKLab | oklab(45.38% -0.0893 0.0819) |
| OKLCH | oklch(45.38% 0.121 137.5) |
| XYZ | xyz(6.0850, 10.0259, 2.4785) |
| Luminance | 0.1003 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.19
Deep Green
#02590F
ΔE00 5.69
Forest Green
#2D5A27
ΔE00 5.76
Forest
#0B5509
ΔE00 6.17
Camouflage Green
#4B6113
ΔE00 6.40
Navy Green
#35530A
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#316518 #4C1865
analogous
#586518 #316518 #186525
triadic
#316518 #183165 #651831
tetradic
#316518 #185865 #4C1865 #652518
square
#316518 #185865 #4C1865 #652518
split-complementary
#316518 #251865 #651858
monochromatic
#0C1906 #19340C #316518 #499624 #61C830
Accessibility & contrast
On white
6.99
#316518 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#316518 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #316518
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##316518 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##316518 | 1.00 | 6.99 | 3.01 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685C0B
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#2E6156
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #316518; /* rgb */ color: rgb(49, 101, 24); /* oklch */ color: oklch(45.4% 0.121 137.5);
Tailwind
colors: {
custom: {
50: '#6f915a',
500: '#316518',
950: '#000000',
},
}SCSS
$custom: #316518; $custom-light: #6f915a; $custom-dark: #000000;
JSON
{
"hex": "#316518",
"rgb": {
"r": 49,
"g": 101,
"b": 24
},
"hsl": {
"h": 100.519,
"s": 61.6,
"l": 24.51
},
"oklch": {
"l": 0.4538,
"c": 0.12118,
"h": 137.5
},
"luminance": 0.10026
}Semantic roles & 50–950 ramp
primary
#316518
secondary
#7D3E9B
accent
#43E5B0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080D04
muted
#7B7D79