#178A23#178A23

#178A23 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.3% C 0.170 H 143.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#178A23
RGBrgb(23, 138, 35)
HSLhsl(126, 71%, 32%)
HSVhsv(126, 83%, 54%)
CMYKcmyk(83.3%, 0%, 74.6%, 45.9%)
CIE-LABlab(50.07, -50.78, 44.04)
CIE-LCHlch(50.07, 67.22, 139.06°)
OKLaboklab(55.3% -0.1373 0.1)
OKLCHoklch(55.3% 0.17 143.9)
XYZxyz(9.7445, 18.4793, 4.6431)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178A23 #8A177E
analogous
#458A17 #178A23 #178A5D
triadic
#178A23 #23178A #8A2317
tetradic
#178A23 #17458A #8A177E #8A5D17
square
#178A23 #17458A #8A177E #8A5D17
split-complementary
#178A23 #5D178A #8A1745
monochromatic
#062108 #0E5616 #178A23 #20BE30 #3DDF4E

Accessibility & contrast

On white

4.47
#178A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#178A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178A23
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178A23#FFFFFF#000000##000000
##178A231.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C11
Deuteranopia (green-blind)
#81742E
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #178a23;
/* rgb */ color: rgb(23, 138, 35);
/* oklch */ color: oklch(55.3% 0.170 143.9);
Tailwind
colors: {
  custom: {
    50: '#6cad65',
    500: '#178a23',
    950: '#000000',
  },
}
SCSS
$custom: #178a23;
$custom-light: #6cad65;
$custom-dark: #000000;
JSON
{
  "hex": "#178a23",
  "rgb": {
    "r": 23,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 126.261,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55296,
    "c": 0.16985,
    "h": 143.9
  },
  "luminance": 0.1848
}

Semantic roles & 50–950 ramp

primary
#178A23
secondary
#BE3FB0
accent
#3ADBEE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178A23

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

Preview Lab → · Contrast checker → · Palette generator →

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