#317F1B#317F1B
#317F1B is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.153 H 139.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #317F1B |
|---|---|
| RGB | rgb(49, 127, 27) |
| HSL | hsl(107, 65%, 30%) |
| HSV | hsv(107, 79%, 50%) |
| CMYK | cmyk(61.4%, 0%, 78.7%, 50.2%) |
| CIE-LAB | lab(46.86, -42.59, 44.00) |
| CIE-LCH | lch(46.86, 61.23, 134.06°) |
| OKLab | oklab(52.78% -0.117 0.0986) |
| OKLCH | oklch(52.78% 0.153 139.9) |
| XYZ | xyz(9.0534, 15.9100, 3.6305) |
| Luminance | 0.1591 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.78
Dark Grass Green
#388004
ΔE00 2.44
Green
#008000
ΔE00 2.89
Forestgreen (CSS)
#228B22
ΔE00 4.39
Darkish Green
#287C37
ΔE00 5.27
Emerald Green
#028F1E
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317F1B #691B7F
analogous
#637F1B #317F1B #1B7F37
triadic
#317F1B #1B317F #7F1B31
tetradic
#317F1B #1B637F #691B7F #7F371B
square
#317F1B #1B637F #691B7F #7F371B
split-complementary
#317F1B #371B7F #7F1B63
monochromatic
#0A1A06 #1E4D10 #317F1B #44B126 #60D63E
Accessibility & contrast
On white
5.02
#317F1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#317F1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317F1B
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317F1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317F1B | 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)
#837304
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#277B6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #317f1b; /* rgb */ color: rgb(49, 127, 27); /* oklch */ color: oklch(52.8% 0.153 139.9);
Tailwind
colors: {
custom: {
50: '#73a55f',
500: '#317f1b',
950: '#000000',
},
}SCSS
$custom: #317f1b; $custom-light: #73a55f; $custom-dark: #000000;
JSON
{
"hex": "#317f1b",
"rgb": {
"r": 49,
"g": 127,
"b": 27
},
"hsl": {
"h": 106.8,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.5278,
"c": 0.15297,
"h": 139.9
},
"luminance": 0.15911
}Semantic roles & 50–950 ramp
primary
#317F1B
secondary
#9A43B3
accent
#40E8C3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79