#178E3F#178E3F

#178E3F is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.153 H 148.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#178E3F
RGBrgb(23, 142, 63)
HSLhsl(140, 72%, 32%)
HSVhsv(140, 84%, 56%)
CMYKcmyk(83.8%, 0%, 55.6%, 44.3%)
CIE-LABlab(51.71, -48.75, 33.10)
CIE-LCHlch(51.71, 58.93, 145.83°)
OKLaboklab(56.74% -0.1309 0.0794)
OKLCHoklch(56.74% 0.153 148.8)
XYZxyz(10.9226, 19.8857, 7.9643)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E3F #8E1766
analogous
#2B8E17 #178E3F #178E7A
triadic
#178E3F #3F178E #8E3F17
tetradic
#178E3F #172B8E #8E1766 #8E7A17
square
#178E3F #172B8E #8E1766 #8E7A17
split-complementary
#178E3F #7A178E #8E172B
monochromatic
#062510 #0E5928 #178E3F #20C356 #3FE075

Accessibility & contrast

On white

4.22
#178E3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#178E3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E3F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E3F#FFFFFF#000000##000000
##178E3F1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8138
Deuteranopia (green-blind)
#827845
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178e3f;
/* rgb */ color: rgb(23, 142, 63);
/* oklch */ color: oklch(56.7% 0.153 148.8);
Tailwind
colors: {
  custom: {
    50: '#6cb076',
    500: '#178e3f',
    950: '#000000',
  },
}
SCSS
$custom: #178e3f;
$custom-light: #6cb076;
$custom-dark: #000000;
JSON
{
  "hex": "#178e3f",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 63
  },
  "hsl": {
    "h": 140.168,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56743,
    "c": 0.15305,
    "h": 148.8
  },
  "luminance": 0.19887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #178E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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