#316F15#316F15
#316F15 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.136 H 138.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #316F15 |
|---|---|
| RGB | rgb(49, 111, 21) |
| HSL | hsl(101, 68%, 26%) |
| HSV | hsv(101, 81%, 44%) |
| CMYK | cmyk(55.9%, 0%, 81.1%, 56.5%) |
| CIE-LAB | lab(41.34, -36.70, 40.77) |
| CIE-LCH | lch(41.34, 54.86, 131.99°) |
| OKLab | oklab(48.21% -0.1015 0.0909) |
| OKLCH | oklch(48.21% 0.136 138.1) |
| XYZ | xyz(7.0862, 12.0754, 2.6667) |
| Luminance | 0.1208 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.05
Tree Green
#2A7E19
ΔE00 5.25
Dark Grass Green
#388004
ΔE00 6.43
Green
#008000
ΔE00 6.63
Darkish Green
#287C37
ΔE00 6.64
Darkolivegreen
#556B2F
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#316F15 #53156F
analogous
#5E6F15 #316F15 #156F26
triadic
#316F15 #15316F #6F1531
tetradic
#316F15 #155E6F #53156F #6F2615
square
#316F15 #155E6F #53156F #6F2615
split-complementary
#316F15 #26156F #6F155E
monochromatic
#0B1A05 #1A3C0B #316F15 #48A21F #5ED628
Accessibility & contrast
On white
6.15
#316F15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#316F15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #316F15
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##316F15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##316F15 | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#2C6B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #316f15; /* rgb */ color: rgb(49, 111, 21); /* oklch */ color: oklch(48.2% 0.136 138.1);
Tailwind
colors: {
custom: {
50: '#71995a',
500: '#316f15',
950: '#000000',
},
}SCSS
$custom: #316f15; $custom-light: #71995a; $custom-dark: #000000;
JSON
{
"hex": "#316f15",
"rgb": {
"r": 49,
"g": 111,
"b": 21
},
"hsl": {
"h": 101.333,
"s": 68.182,
"l": 25.882
},
"oklch": {
"l": 0.48212,
"c": 0.13625,
"h": 138.1
},
"luminance": 0.12076
}Semantic roles & 50–950 ramp
primary
#316F15
secondary
#843AA5
accent
#3DEBB5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79