#178E2A#178E2A

#178E2A is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.170 H 144.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#178E2A
RGBrgb(23, 142, 42)
HSLhsl(130, 72%, 32%)
HSVhsv(130, 84%, 56%)
CMYKcmyk(83.8%, 0%, 70.4%, 44.3%)
CIE-LABlab(51.49, -51.42, 42.69)
CIE-LCHlch(51.49, 66.84, 140.30°)
OKLaboklab(56.49% -0.1387 0.0981)
OKLCHoklch(56.49% 0.17 144.7)
XYZxyz(10.4435, 19.6940, 5.4410)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E2A #8E177B
analogous
#3F8E17 #178E2A #178E66
triadic
#178E2A #2A178E #8E2A17
tetradic
#178E2A #173F8E #8E177B #8E6617
square
#178E2A #173F8E #8E177B #8E6617
split-complementary
#178E2A #66178E #8E173F
monochromatic
#06250B #0E591A #178E2A #20C33A #3FE059

Accessibility & contrast

On white

4.25
#178E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#178E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E2A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E2A#FFFFFF#000000##000000
##178E2A1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801C
Deuteranopia (green-blind)
#847734
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178e2a;
/* rgb */ color: rgb(23, 142, 42);
/* oklch */ color: oklch(56.5% 0.170 144.7);
Tailwind
colors: {
  custom: {
    50: '#6db069',
    500: '#178e2a',
    950: '#000000',
  },
}
SCSS
$custom: #178e2a;
$custom-light: #6db069;
$custom-dark: #000000;
JSON
{
  "hex": "#178e2a",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 129.58,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56492,
    "c": 0.1699,
    "h": 144.7
  },
  "luminance": 0.19695
}

Semantic roles & 50–950 ramp

primary
#178E2A
secondary
#C040AC
accent
#39D2EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #178E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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