#178F16#178F16

#178F16 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.6% C 0.182 H 142.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#178F16
RGBrgb(23, 143, 22)
HSLhsl(120, 73%, 32%)
HSVhsv(120, 85%, 56%)
CMYKcmyk(83.9%, 0%, 84.6%, 43.9%)
CIE-LABlab(51.71, -53.30, 49.96)
CIE-LCHlch(51.71, 73.05, 136.85°)
OKLaboklab(56.63% -0.1447 0.1105)
OKLCHoklch(56.63% 0.182 142.6)
XYZxyz(10.3200, 19.8837, 4.0529)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F16 #8E168F
analogous
#548F16 #178F16 #168F51
triadic
#178F16 #16178F #8F1617
tetradic
#178F16 #16548F #8E168F #8F5116
square
#178F16 #16548F #8E168F #8F5116
split-complementary
#178F16 #51168F #8F1654
monochromatic
#062506 #0E5A0E #178F16 #20C41E #3FE13E

Accessibility & contrast

On white

4.22
#178F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#178F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F16
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F16#FFFFFF#000000##000000
##178F161.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#008B79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178f16;
/* rgb */ color: rgb(23, 143, 22);
/* oklch */ color: oklch(56.6% 0.182 142.6);
Tailwind
colors: {
  custom: {
    50: '#6eb160',
    500: '#178f16',
    950: '#000000',
  },
}
SCSS
$custom: #178f16;
$custom-light: #6eb160;
$custom-dark: #000000;
JSON
{
  "hex": "#178f16",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 119.504,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56632,
    "c": 0.18207,
    "h": 142.6
  },
  "luminance": 0.19885
}

Semantic roles & 50–950 ramp

primary
#178F16
secondary
#C03FC1
accent
#38F0EE
background
#F7FBF5
surface
#EDF6EA
border
#C8D0C6
text
#091105
muted
#7B8079

Preview Lab

Preview with #178F16

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

Preview Lab → · Contrast checker → · Palette generator →

#178F16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva