#178F52#178F52

#178F52 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.137 H 154.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#178F52
RGBrgb(23, 143, 82)
HSLhsl(150, 72%, 33%)
HSVhsv(150, 84%, 56%)
CMYKcmyk(83.9%, 0%, 42.7%, 43.9%)
CIE-LABlab(52.33, -45.80, 23.79)
CIE-LCHlch(52.33, 51.61, 152.55°)
OKLaboklab(57.35% -0.1232 0.059)
OKLCHoklch(57.35% 0.137 154.4)
XYZxyz(11.6977, 20.4348, 11.3088)
Luminance0.2044 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F52 #8F1754
analogous
#188F17 #178F52 #178F8E
triadic
#178F52 #52178F #8F5217
tetradic
#178F52 #17188F #8F1754 #8F8E17
square
#178F52 #17188F #8F1754 #8F8E17
split-complementary
#178F52 #8E178F #8F1718
monochromatic
#062616 #0F5A34 #178F52 #1FC470 #40E08F

Accessibility & contrast

On white

4.13
#178F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#178F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F52
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F52#FFFFFF#000000##000000
##178F521.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834E
Deuteranopia (green-blind)
#817956
Tritanopia (blue-blind)
#008D80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #178f52;
/* rgb */ color: rgb(23, 143, 82);
/* oklch */ color: oklch(57.3% 0.137 154.4);
Tailwind
colors: {
  custom: {
    50: '#6bb183',
    500: '#178f52',
    950: '#000000',
  },
}
SCSS
$custom: #178f52;
$custom-light: #6bb183;
$custom-dark: #000000;
JSON
{
  "hex": "#178f52",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 82
  },
  "hsl": {
    "h": 149.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57347,
    "c": 0.13658,
    "h": 154.4
  },
  "luminance": 0.20436
}

Semantic roles & 50–950 ramp

primary
#178F52
secondary
#C14182
accent
#3995EF
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110A
muted
#7B807C

Preview Lab

Preview with #178F52

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

Preview Lab → · Contrast checker → · Palette generator →

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