#178F51#178F51

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

Color values

HEX#178F51
RGBrgb(23, 143, 81)
HSLhsl(149, 72%, 33%)
HSVhsv(149, 84%, 56%)
CMYKcmyk(83.9%, 0%, 43.4%, 43.9%)
CIE-LABlab(52.31, -45.99, 24.32)
CIE-LCHlch(52.31, 52.02, 152.13°)
OKLaboklab(57.33% -0.1236 0.0602)
OKLCHoklch(57.33% 0.138 154)
XYZxyz(11.6599, 20.4197, 11.1099)
Luminance0.2042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F51 #8F1755
analogous
#198F17 #178F51 #178F8D
triadic
#178F51 #51178F #8F5117
tetradic
#178F51 #17198F #8F1755 #8F8D17
square
#178F51 #17198F #8F1755 #8F8D17
split-complementary
#178F51 #8D178F #8F1719
monochromatic
#062615 #0F5A33 #178F51 #1FC46F #40E08E

Accessibility & contrast

On white

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

On black

5.08
#178F51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F51
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F51#FFFFFF#000000##000000
##178F511.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #178f51;
/* rgb */ color: rgb(23, 143, 81);
/* oklch */ color: oklch(57.3% 0.138 154.0);
Tailwind
colors: {
  custom: {
    50: '#6bb182',
    500: '#178f51',
    950: '#000000',
  },
}
SCSS
$custom: #178f51;
$custom-light: #6bb182;
$custom-dark: #000000;
JSON
{
  "hex": "#178f51",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 81
  },
  "hsl": {
    "h": 149,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57327,
    "c": 0.13754,
    "h": 154
  },
  "luminance": 0.20421
}

Semantic roles & 50–950 ramp

primary
#178F51
secondary
#C14183
accent
#3997EF
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110A
muted
#7B807C

Preview Lab

Preview with #178F51

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

Preview Lab → · Contrast checker → · Palette generator →

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