#317C15#317C15
#317C15 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.152 H 139.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #317C15 |
|---|---|
| RGB | rgb(49, 124, 21) |
| HSL | hsl(104, 71%, 28%) |
| HSV | hsv(104, 83%, 49%) |
| CMYK | cmyk(60.5%, 0%, 83.1%, 51.4%) |
| CIE-LAB | lab(45.80, -41.83, 45.00) |
| CIE-LCH | lch(45.80, 61.44, 132.91°) |
| OKLab | oklab(51.9% -0.1153 0.0998) |
| OKLCH | oklch(51.9% 0.152 139.1) |
| XYZ | xyz(8.6093, 15.1217, 3.1744) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.15
Dark Grass Green
#388004
ΔE00 2.41
Green
#008000
ΔE00 3.06
Forestgreen (CSS)
#228B22
ΔE00 5.49
Darkish Green
#287C37
ΔE00 5.64
Avocado
#568203
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317C15 #60157C
analogous
#647C15 #317C15 #157C2C
triadic
#317C15 #15317C #7C1531
tetradic
#317C15 #15647C #60157C #7C2C15
square
#317C15 #15647C #60157C #7C2C15
split-complementary
#317C15 #2C157C #7C1564
monochromatic
#0A1A04 #1C480C #317C15 #46B01E #5EDC30
Accessibility & contrast
On white
5.22
#317C15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#317C15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317C15
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317C15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317C15 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#776A21
Tritanopia (blue-blind)
#297869
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #317c15; /* rgb */ color: rgb(49, 124, 21); /* oklch */ color: oklch(51.9% 0.152 139.1);
Tailwind
colors: {
custom: {
50: '#73a35c',
500: '#317c15',
950: '#000000',
},
}SCSS
$custom: #317c15; $custom-light: #73a35c; $custom-dark: #000000;
JSON
{
"hex": "#317c15",
"rgb": {
"r": 49,
"g": 124,
"b": 21
},
"hsl": {
"h": 103.689,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.51897,
"c": 0.15245,
"h": 139.1
},
"luminance": 0.15122
}Semantic roles & 50–950 ramp
primary
#317C15
secondary
#913CB1
accent
#3AEEBD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79