#178F15#178F15

#178F15 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#178F15
RGBrgb(23, 143, 21)
HSLhsl(119, 74%, 32%)
HSVhsv(119, 85%, 56%)
CMYKcmyk(83.9%, 0%, 85.3%, 43.9%)
CIE-LABlab(51.70, -53.35, 50.22)
CIE-LCHlch(51.70, 73.27, 136.73°)
OKLaboklab(56.63% -0.1449 0.1109)
OKLCHoklch(56.63% 0.182 142.6)
XYZxyz(10.3105, 19.8800, 4.0031)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F15 #8D158F
analogous
#548F15 #178F15 #158F50
triadic
#178F15 #15178F #8F1517
tetradic
#178F15 #15548F #8D158F #8F5015
square
#178F15 #15548F #8D158F #8F5015
split-complementary
#178F15 #50158F #8F1554
monochromatic
#062405 #0E5A0D #178F15 #20C41D #3FE23C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178F15#FFFFFF#000000##000000
##178F151.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)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178f15;
/* rgb */ color: rgb(23, 143, 21);
/* oklch */ color: oklch(56.6% 0.182 142.6);
Tailwind
colors: {
  custom: {
    50: '#6eb15f',
    500: '#178f15',
    950: '#000000',
  },
}
SCSS
$custom: #178f15;
$custom-light: #6eb15f;
$custom-dark: #000000;
JSON
{
  "hex": "#178f15",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 119.016,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56627,
    "c": 0.18248,
    "h": 142.6
  },
  "luminance": 0.19881
}

Semantic roles & 50–950 ramp

primary
#178F15
secondary
#C03EC2
accent
#37F1EE
background
#F7FBF5
surface
#EDF6EA
border
#C8D0C6
text
#091105
muted
#7B8079

Preview Lab

Preview with #178F15

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

Preview Lab → · Contrast checker → · Palette generator →

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