#117F1C#117F1C
#117F1C is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.0% C 0.163 H 143.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #117F1C |
|---|---|
| RGB | rgb(17, 127, 28) |
| HSL | hsl(126, 76%, 28%) |
| HSV | hsv(126, 87%, 50%) |
| CMYK | cmyk(86.6%, 0%, 78%, 50.2%) |
| CIE-LAB | lab(46.15, -48.50, 42.71) |
| CIE-LCH | lch(46.15, 64.62, 138.64°) |
| OKLab | oklab(51.99% -0.1312 0.0963) |
| OKLCH | oklch(51.99% 0.163 143.7) |
| XYZ | xyz(8.0296, 15.3808, 3.6440) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.85
Green
#008000
ΔE00 2.20
Forestgreen (CSS)
#228B22
ΔE00 4.46
Darkish Green
#287C37
ΔE00 4.48
Dark Grass Green
#388004
ΔE00 4.52
Emerald Green
#028F1E
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#117F1C #7F1174
analogous
#3D7F11 #117F1C #117F53
triadic
#117F1C #1C117F #7F1C11
tetradic
#117F1C #113D7F #7F1174 #7F5311
square
#117F1C #113D7F #7F1174 #7F5311
split-complementary
#117F1C #53117F #7F113D
monochromatic
#041B06 #0A4910 #117F1C #18B528 #28E23B
Accessibility & contrast
On white
5.15
#117F1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#117F1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #117F1C
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##117F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##117F1C | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827207
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #117f1c; /* rgb */ color: rgb(17, 127, 28); /* oklch */ color: oklch(52.0% 0.163 143.7);
Tailwind
colors: {
custom: {
50: '#68a560',
500: '#117f1c',
950: '#000000',
},
}SCSS
$custom: #117f1c; $custom-light: #68a560; $custom-dark: #000000;
JSON
{
"hex": "#117f1c",
"rgb": {
"r": 17,
"g": 127,
"b": 28
},
"hsl": {
"h": 126,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.51994,
"c": 0.16271,
"h": 143.7
},
"luminance": 0.15382
}Semantic roles & 50–950 ramp
primary
#117F1C
secondary
#B537A8
accent
#35E0F3
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79