#317F1C#317F1C
#317F1C is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.152 H 140.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #317F1C |
|---|---|
| RGB | rgb(49, 127, 28) |
| HSL | hsl(107, 64%, 30%) |
| HSV | hsv(107, 78%, 50%) |
| CMYK | cmyk(61.4%, 0%, 78%, 50.2%) |
| CIE-LAB | lab(46.86, -42.51, 43.65) |
| CIE-LCH | lch(46.86, 60.93, 134.25°) |
| OKLab | oklab(52.79% -0.1167 0.098) |
| OKLCH | oklch(52.79% 0.152 140) |
| XYZ | xyz(9.0652, 15.9147, 3.6925) |
| Luminance | 0.1592 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.77
Dark Grass Green
#388004
ΔE00 2.55
Green
#008000
ΔE00 2.94
Forestgreen (CSS)
#228B22
ΔE00 4.37
Darkish Green
#287C37
ΔE00 5.16
Emerald Green
#028F1E
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317F1C #6A1C7F
analogous
#627F1C #317F1C #1C7F39
triadic
#317F1C #1C317F #7F1C31
tetradic
#317F1C #1C627F #6A1C7F #7F391C
square
#317F1C #1C627F #6A1C7F #7F391C
split-complementary
#317F1C #391C7F #7F1C62
monochromatic
#0A1B06 #1E4D11 #317F1C #44B127 #60D540
Accessibility & contrast
On white
5.02
#317F1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#317F1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317F1C
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317F1C | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837306
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#277B6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #317f1c; /* rgb */ color: rgb(49, 127, 28); /* oklch */ color: oklch(52.8% 0.152 140.0);
Tailwind
colors: {
custom: {
50: '#73a560',
500: '#317f1c',
950: '#000000',
},
}SCSS
$custom: #317f1c; $custom-light: #73a560; $custom-dark: #000000;
JSON
{
"hex": "#317f1c",
"rgb": {
"r": 49,
"g": 127,
"b": 28
},
"hsl": {
"h": 107.273,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.52788,
"c": 0.15239,
"h": 140
},
"luminance": 0.15916
}Semantic roles & 50–950 ramp
primary
#317F1C
secondary
#9B44B3
accent
#41E7C4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79