#117F21#117F21

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

Color values

HEX#117F21
RGBrgb(17, 127, 33)
HSLhsl(129, 76%, 28%)
HSVhsv(129, 87%, 50%)
CMYKcmyk(86.6%, 0%, 74%, 50.2%)
CIE-LABlab(46.19, -48.06, 40.81)
CIE-LCHlch(46.19, 63.05, 139.66°)
OKLaboklab(52.04% -0.1298 0.093)
OKLCHoklch(52.04% 0.16 144.4)
XYZxyz(8.0945, 15.4067, 3.9857)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#117F21 #7F116F
analogous
#387F11 #117F21 #117F58
triadic
#117F21 #21117F #7F2111
tetradic
#117F21 #11387F #7F116F #7F5811
square
#117F21 #11387F #7F116F #7F5811
split-complementary
#117F21 #58117F #7F1138
monochromatic
#041B07 #0A4913 #117F21 #18B52F #28E243

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##117F21#FFFFFF#000000##FFFFFF
##117F211.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)
#817211
Deuteranopia (green-blind)
#766A2B
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #117f21;
/* rgb */ color: rgb(17, 127, 33);
/* oklch */ color: oklch(52.0% 0.160 144.4);
Tailwind
colors: {
  custom: {
    50: '#67a562',
    500: '#117f21',
    950: '#000000',
  },
}
SCSS
$custom: #117f21;
$custom-light: #67a562;
$custom-dark: #000000;
JSON
{
  "hex": "#117f21",
  "rgb": {
    "r": 17,
    "g": 127,
    "b": 33
  },
  "hsl": {
    "h": 128.727,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52035,
    "c": 0.15964,
    "h": 144.4
  },
  "luminance": 0.15408
}

Semantic roles & 50–950 ramp

primary
#117F21
secondary
#B537A3
accent
#35D7F3
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #117F21

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

Preview Lab → · Contrast checker → · Palette generator →

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