#178117#178117

#178117 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.166 H 142.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#178117
RGBrgb(23, 129, 23)
HSLhsl(120, 70%, 30%)
HSVhsv(120, 82%, 51%)
CMYKcmyk(82.2%, 0%, 82.2%, 49.4%)
CIE-LABlab(46.90, -48.78, 45.18)
CIE-LCHlch(46.90, 66.49, 137.20°)
OKLaboklab(52.63% -0.1324 0.1007)
OKLCHoklch(52.63% 0.166 142.8)
XYZxyz(8.3577, 15.9435, 3.4474)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178117 #811781
analogous
#4C8117 #178117 #17814C
triadic
#178117 #171781 #811717
tetradic
#178117 #174C81 #811781 #814C17
square
#178117 #174C81 #811781 #814C17
split-complementary
#178117 #4C1781 #81174C
monochromatic
#051A05 #0E4D0E #178117 #20B520 #37DB37

Accessibility & contrast

On white

5.01
#178117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#178117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178117
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178117#FFFFFF#000000##FFFFFF
##1781171.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#007D6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #178117;
/* rgb */ color: rgb(23, 129, 23);
/* oklch */ color: oklch(52.6% 0.166 142.8);
Tailwind
colors: {
  custom: {
    50: '#6aa75e',
    500: '#178117',
    950: '#000000',
  },
}
SCSS
$custom: #178117;
$custom-light: #6aa75e;
$custom-dark: #000000;
JSON
{
  "hex": "#178117",
  "rgb": {
    "r": 23,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52633,
    "c": 0.16633,
    "h": 142.8
  },
  "luminance": 0.15945
}

Semantic roles & 50–950 ramp

primary
#178117
secondary
#B53EB5
accent
#3BEDED
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #178117

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

Preview Lab → · Contrast checker → · Palette generator →

#178117 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva