#178F3F#178F3F

#178F3F is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.154 H 148.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#178F3F
RGBrgb(23, 143, 63)
HSLhsl(140, 72%, 33%)
HSVhsv(140, 84%, 56%)
CMYKcmyk(83.9%, 0%, 55.9%, 43.9%)
CIE-LABlab(52.05, -49.11, 33.50)
CIE-LCHlch(52.05, 59.45, 145.70°)
OKLaboklab(57.02% -0.1318 0.0803)
OKLCHoklch(57.02% 0.154 148.7)
XYZxyz(11.0721, 20.1846, 8.0141)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F3F #8F1767
analogous
#2B8F17 #178F3F #178F7B
triadic
#178F3F #3F178F #8F3F17
tetradic
#178F3F #172B8F #8F1767 #8F7B17
square
#178F3F #172B8F #8F1767 #8F7B17
split-complementary
#178F3F #7B178F #8F172B
monochromatic
#062611 #0F5A28 #178F3F #1FC456 #40E076

Accessibility & contrast

On white

4.17
#178F3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#178F3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F3F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F3F#FFFFFF#000000##000000
##178F3F1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908238
Deuteranopia (green-blind)
#837845
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #178f3f;
/* rgb */ color: rgb(23, 143, 63);
/* oklch */ color: oklch(57.0% 0.154 148.7);
Tailwind
colors: {
  custom: {
    50: '#6cb176',
    500: '#178f3f',
    950: '#000000',
  },
}
SCSS
$custom: #178f3f;
$custom-light: #6cb176;
$custom-dark: #000000;
JSON
{
  "hex": "#178f3f",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 63
  },
  "hsl": {
    "h": 140,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57024,
    "c": 0.15432,
    "h": 148.7
  },
  "luminance": 0.20186
}

Semantic roles & 50–950 ramp

primary
#178F3F
secondary
#C14196
accent
#39B2EF
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #178F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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