#178F3A#178F3A

#178F3A is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.159 H 147.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#178F3A
RGBrgb(23, 143, 58)
HSLhsl(138, 72%, 33%)
HSVhsv(138, 84%, 56%)
CMYKcmyk(83.9%, 0%, 59.4%, 43.9%)
CIE-LABlab(51.99, -49.83, 35.92)
CIE-LCHlch(51.99, 61.43, 144.21°)
OKLaboklab(56.95% -0.1339 0.0852)
OKLCHoklch(56.95% 0.159 147.5)
XYZxyz(10.9387, 20.1312, 7.3114)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F3A #8F176C
analogous
#308F17 #178F3A #178F76
triadic
#178F3A #3A178F #8F3A17
tetradic
#178F3A #17308F #8F176C #8F7617
square
#178F3A #17308F #8F176C #8F7617
split-complementary
#178F3A #76178F #8F1730
monochromatic
#06260F #0F5A25 #178F3A #1FC44F #40E06F

Accessibility & contrast

On white

4.18
#178F3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#178F3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F3A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F3A#FFFFFF#000000##000000
##178F3A1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918131
Deuteranopia (green-blind)
#847841
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #178f3a;
/* rgb */ color: rgb(23, 143, 58);
/* oklch */ color: oklch(57.0% 0.159 147.5);
Tailwind
colors: {
  custom: {
    50: '#6cb173',
    500: '#178f3a',
    950: '#000000',
  },
}
SCSS
$custom: #178f3a;
$custom-light: #6cb173;
$custom-dark: #000000;
JSON
{
  "hex": "#178f3a",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 58
  },
  "hsl": {
    "h": 137.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56954,
    "c": 0.15869,
    "h": 147.5
  },
  "luminance": 0.20133
}

Semantic roles & 50–950 ramp

primary
#178F3A
secondary
#C1419B
accent
#39BAEF
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #178F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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