#178F4B#178F4B

#178F4B is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.143 H 152.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#178F4B
RGBrgb(23, 143, 75)
HSLhsl(146, 72%, 33%)
HSVhsv(146, 84%, 56%)
CMYKcmyk(83.9%, 0%, 47.6%, 43.9%)
CIE-LABlab(52.21, -47.12, 27.44)
CIE-LCHlch(52.21, 54.52, 149.78°)
OKLaboklab(57.22% -0.1265 0.0673)
OKLCHoklch(57.22% 0.143 152)
XYZxyz(11.4448, 20.3337, 9.9768)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F4B #8F175B
analogous
#1F8F17 #178F4B #178F87
triadic
#178F4B #4B178F #8F4B17
tetradic
#178F4B #171F8F #8F175B #8F8717
square
#178F4B #171F8F #8F175B #8F8717
split-complementary
#178F4B #87178F #8F171F
monochromatic
#062614 #0F5A2F #178F4B #1FC467 #40E086

Accessibility & contrast

On white

4.14
#178F4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#178F4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F4B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F4B#FFFFFF#000000##000000
##178F4B1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8246
Deuteranopia (green-blind)
#827950
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #178f4b;
/* rgb */ color: rgb(23, 143, 75);
/* oklch */ color: oklch(57.2% 0.143 152.0);
Tailwind
colors: {
  custom: {
    50: '#6bb17e',
    500: '#178f4b',
    950: '#000000',
  },
}
SCSS
$custom: #178f4b;
$custom-light: #6bb17e;
$custom-dark: #000000;
JSON
{
  "hex": "#178f4b",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 75
  },
  "hsl": {
    "h": 146,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57216,
    "c": 0.14325,
    "h": 152
  },
  "luminance": 0.20335
}

Semantic roles & 50–950 ramp

primary
#178F4B
secondary
#C14189
accent
#39A0EF
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #178F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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