#317F11#317F11
#317F11 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.158 H 139.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #317F11 |
|---|---|
| RGB | rgb(49, 127, 17) |
| HSL | hsl(103, 76%, 28%) |
| HSV | hsv(103, 87%, 50%) |
| CMYK | cmyk(61.4%, 0%, 86.6%, 50.2%) |
| CIE-LAB | lab(46.81, -43.18, 47.07) |
| CIE-LCH | lch(46.81, 63.88, 132.53°) |
| OKLab | oklab(52.72% -0.1191 0.1035) |
| OKLCH | oklch(52.72% 0.158 139) |
| XYZ | xyz(8.9568, 15.8714, 3.1217) |
| Luminance | 0.1587 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.37
Dark Grass Green
#388004
ΔE00 1.53
Green
#008000
ΔE00 2.69
Forestgreen (CSS)
#228B22
ΔE00 4.63
Emerald Green
#028F1E
ΔE00 6.10
Avocado
#568203
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317F11 #5F117F
analogous
#687F11 #317F11 #117F28
triadic
#317F11 #11317F #7F1131
tetradic
#317F11 #11687F #5F117F #7F2811
square
#317F11 #11687F #5F117F #7F2811
split-complementary
#317F11 #28117F #7F1168
monochromatic
#0A1B04 #1C490A #317F11 #46B518 #5EE228
Accessibility & contrast
On white
5.03
#317F11 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#317F11 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317F11
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317F11 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317F11 | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796D20
Tritanopia (blue-blind)
#287A6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #317f11; /* rgb */ color: rgb(49, 127, 17); /* oklch */ color: oklch(52.7% 0.158 139.0);
Tailwind
colors: {
custom: {
50: '#74a55b',
500: '#317f11',
950: '#000000',
},
}SCSS
$custom: #317f11; $custom-light: #74a55b; $custom-dark: #000000;
JSON
{
"hex": "#317f11",
"rgb": {
"r": 49,
"g": 127,
"b": 17
},
"hsl": {
"h": 102.545,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.52722,
"c": 0.15779,
"h": 139
},
"luminance": 0.15872
}Semantic roles & 50–950 ramp
primary
#317F11
secondary
#9037B5
accent
#35F3BC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79