#317F10#317F10
#317F10 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.158 H 138.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #317F10 |
|---|---|
| RGB | rgb(49, 127, 16) |
| HSL | hsl(102, 78%, 28%) |
| HSV | hsv(102, 87%, 50%) |
| CMYK | cmyk(61.4%, 0%, 87.4%, 50.2%) |
| CIE-LAB | lab(46.80, -43.23, 47.33) |
| CIE-LCH | lch(46.80, 64.10, 132.41°) |
| OKLab | oklab(52.72% -0.1193 0.1039) |
| OKLCH | oklch(52.72% 0.158 138.9) |
| XYZ | xyz(8.9492, 15.8683, 3.0814) |
| Luminance | 0.1587 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.44
Dark Grass Green
#388004
ΔE00 1.46
Green
#008000
ΔE00 2.69
Forestgreen (CSS)
#228B22
ΔE00 4.66
Emerald Green
#028F1E
ΔE00 6.12
Avocado
#568203
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317F10 #5E107F
analogous
#687F10 #317F10 #107F26
triadic
#317F10 #10317F #7F1031
tetradic
#317F10 #10687F #5E107F #7F2610
square
#317F10 #10687F #5E107F #7F2610
split-complementary
#317F10 #26107F #7F1068
monochromatic
#0A1B03 #1C4909 #317F10 #46B517 #5EE426
Accessibility & contrast
On white
5.03
#317F10 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#317F10 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317F10
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317F10 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317F10 | 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)
#796D1F
Tritanopia (blue-blind)
#287A6B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #317f10; /* rgb */ color: rgb(49, 127, 16); /* oklch */ color: oklch(52.7% 0.158 138.9);
Tailwind
colors: {
custom: {
50: '#74a55b',
500: '#317f10',
950: '#000000',
},
}SCSS
$custom: #317f10; $custom-light: #74a55b; $custom-dark: #000000;
JSON
{
"hex": "#317f10",
"rgb": {
"r": 49,
"g": 127,
"b": 16
},
"hsl": {
"h": 102.162,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.52717,
"c": 0.15819,
"h": 138.9
},
"luminance": 0.15869
}Semantic roles & 50–950 ramp
primary
#317F10
secondary
#8F36B5
accent
#34F4BB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79