#117F20#117F20

#117F20 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.0% C 0.160 H 144.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#117F20
RGBrgb(17, 127, 32)
HSLhsl(128, 76%, 28%)
HSVhsv(128, 87%, 50%)
CMYKcmyk(86.6%, 0%, 74.8%, 50.2%)
CIE-LABlab(46.18, -48.16, 41.20)
CIE-LCHlch(46.18, 63.38, 139.45°)
OKLaboklab(52.03% -0.1301 0.0937)
OKLCHoklch(52.03% 0.16 144.2)
XYZxyz(8.0807, 15.4012, 3.9131)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#117F20 #7F1170
analogous
#397F11 #117F20 #117F57
triadic
#117F20 #20117F #7F2011
tetradic
#117F20 #11397F #7F1170 #7F5711
square
#117F20 #11397F #7F1170 #7F5711
split-complementary
#117F20 #57117F #7F1139
monochromatic
#041B07 #0A4912 #117F20 #18B52E #28E242

Accessibility & contrast

On white

5.15
#117F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#117F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #117F20
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##117F20#FFFFFF#000000##FFFFFF
##117F201.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720F
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #117f20;
/* rgb */ color: rgb(17, 127, 32);
/* oklch */ color: oklch(52.0% 0.160 144.2);
Tailwind
colors: {
  custom: {
    50: '#68a562',
    500: '#117f20',
    950: '#000000',
  },
}
SCSS
$custom: #117f20;
$custom-light: #68a562;
$custom-dark: #000000;
JSON
{
  "hex": "#117f20",
  "rgb": {
    "r": 17,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 128.182,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52026,
    "c": 0.16029,
    "h": 144.2
  },
  "luminance": 0.15402
}

Semantic roles & 50–950 ramp

primary
#117F20
secondary
#B537A4
accent
#35D9F3
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #117F20

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#117F20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva