#316E18#316E18
#316E18 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.133 H 138.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #316E18 |
|---|---|
| RGB | rgb(49, 110, 24) |
| HSL | hsl(103, 64%, 26%) |
| HSV | hsv(103, 78%, 43%) |
| CMYK | cmyk(55.5%, 0%, 78.2%, 56.9%) |
| CIE-LAB | lab(41.01, -36.07, 39.36) |
| CIE-LCH | lch(41.01, 53.39, 132.51°) |
| OKLab | oklab(47.95% -0.0996 0.0884) |
| OKLCH | oklch(47.95% 0.133 138.4) |
| XYZ | xyz(7.0072, 11.8702, 2.7859) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.86
Tree Green
#2A7E19
ΔE00 5.62
Darkish Green
#287C37
ΔE00 6.57
Dark Grass Green
#388004
ΔE00 6.93
Green
#008000
ΔE00 7.05
Darkolivegreen
#556B2F
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#316E18 #55186E
analogous
#5C6E18 #316E18 #186E2A
triadic
#316E18 #18316E #6E1831
tetradic
#316E18 #185C6E #55186E #6E2A18
square
#316E18 #185C6E #55186E #6E2A18
split-complementary
#316E18 #2A186E #6E185C
monochromatic
#0B1905 #1B3C0D #316E18 #47A023 #5ED22F
Accessibility & contrast
On white
6.22
#316E18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#316E18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #316E18
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##316E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##316E18 | 1.00 | 6.22 | 3.37 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726407
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#2C6A5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #316e18; /* rgb */ color: rgb(49, 110, 24); /* oklch */ color: oklch(47.9% 0.133 138.4);
Tailwind
colors: {
custom: {
50: '#70985c',
500: '#316e18',
950: '#000000',
},
}SCSS
$custom: #316e18; $custom-light: #70985c; $custom-dark: #000000;
JSON
{
"hex": "#316e18",
"rgb": {
"r": 49,
"g": 110,
"b": 24
},
"hsl": {
"h": 102.558,
"s": 64.179,
"l": 26.275
},
"oklch": {
"l": 0.47948,
"c": 0.1332,
"h": 138.4
},
"luminance": 0.11871
}Semantic roles & 50–950 ramp
primary
#316E18
secondary
#863EA4
accent
#41E7B7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79