#178F4F#178F4F

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

Color values

HEX#178F4F
RGBrgb(23, 143, 79)
HSLhsl(148, 72%, 33%)
HSVhsv(148, 84%, 56%)
CMYKcmyk(83.9%, 0%, 44.8%, 43.9%)
CIE-LABlab(52.28, -46.38, 25.36)
CIE-LCHlch(52.28, 52.86, 151.33°)
OKLaboklab(57.29% -0.1246 0.0626)
OKLCHoklch(57.29% 0.139 153.3)
XYZxyz(11.5860, 20.3901, 10.7207)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F4F #8F1757
analogous
#1B8F17 #178F4F #178F8B
triadic
#178F4F #4F178F #8F4F17
tetradic
#178F4F #171B8F #8F1757 #8F8B17
square
#178F4F #171B8F #8F1757 #8F8B17
split-complementary
#178F4F #8B178F #8F171B
monochromatic
#062615 #0F5A32 #178F4F #1FC46C #40E08B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178F4F#FFFFFF#000000##000000
##178F4F1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #178f4f;
/* rgb */ color: rgb(23, 143, 79);
/* oklch */ color: oklch(57.3% 0.139 153.3);
Tailwind
colors: {
  custom: {
    50: '#6bb181',
    500: '#178f4f',
    950: '#000000',
  },
}
SCSS
$custom: #178f4f;
$custom-light: #6bb181;
$custom-dark: #000000;
JSON
{
  "hex": "#178f4f",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 79
  },
  "hsl": {
    "h": 148,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57289,
    "c": 0.13945,
    "h": 153.3
  },
  "luminance": 0.20392
}

Semantic roles & 50–950 ramp

primary
#178F4F
secondary
#C14185
accent
#399AEF
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #178F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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