#317B16#317B16
#317B16 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.151 H 139.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #317B16 |
|---|---|
| RGB | rgb(49, 123, 22) |
| HSL | hsl(104, 70%, 28%) |
| HSV | hsv(104, 82%, 48%) |
| CMYK | cmyk(60.2%, 0%, 82.1%, 51.8%) |
| CIE-LAB | lab(45.46, -41.39, 44.36) |
| CIE-LCH | lch(45.46, 60.67, 133.01°) |
| OKLab | oklab(51.62% -0.114 0.0986) |
| OKLCH | oklch(51.62% 0.151 139.2) |
| XYZ | xyz(8.4940, 14.8761, 3.1827) |
| Luminance | 0.1488 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.33
Dark Grass Green
#388004
ΔE00 2.74
Green
#008000
ΔE00 3.26
Darkish Green
#287C37
ΔE00 5.49
Forestgreen (CSS)
#228B22
ΔE00 5.81
Avocado
#568203
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317B16 #60167B
analogous
#637B16 #317B16 #167B2D
triadic
#317B16 #16317B #7B1631
tetradic
#317B16 #16637B #60167B #7B2D16
square
#317B16 #16637B #60167B #7B2D16
split-complementary
#317B16 #2D167B #7B1663
monochromatic
#0A1A05 #1C470D #317B16 #46AF1F #5EDA31
Accessibility & contrast
On white
5.28
#317B16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#317B16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317B16
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317B16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317B16 | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#766922
Tritanopia (blue-blind)
#297768
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #317b16; /* rgb */ color: rgb(49, 123, 22); /* oklch */ color: oklch(51.6% 0.151 139.2);
Tailwind
colors: {
custom: {
50: '#73a25d',
500: '#317b16',
950: '#000000',
},
}SCSS
$custom: #317b16; $custom-light: #73a25d; $custom-dark: #000000;
JSON
{
"hex": "#317b16",
"rgb": {
"r": 49,
"g": 123,
"b": 22
},
"hsl": {
"h": 103.96,
"s": 69.655,
"l": 28.431
},
"oklch": {
"l": 0.51621,
"c": 0.15073,
"h": 139.2
},
"luminance": 0.14877
}Semantic roles & 50–950 ramp
primary
#317B16
secondary
#913DB0
accent
#3BECBD
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79