#178B23#178B23

#178B23 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.171 H 143.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#178B23
RGBrgb(23, 139, 35)
HSLhsl(126, 72%, 32%)
HSVhsv(126, 83%, 55%)
CMYKcmyk(83.5%, 0%, 74.8%, 45.5%)
CIE-LABlab(50.41, -51.10, 44.39)
CIE-LCHlch(50.41, 67.69, 139.02°)
OKLaboklab(55.58% -0.1382 0.1007)
OKLCHoklch(55.58% 0.171 143.9)
XYZxyz(9.8887, 18.7675, 4.6911)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178B23 #8B177F
analogous
#458B17 #178B23 #178B5D
triadic
#178B23 #23178B #8B2317
tetradic
#178B23 #17458B #8B177F #8B5D17
square
#178B23 #17458B #8B177F #8B5D17
split-complementary
#178B23 #5D178B #8B1745
monochromatic
#062209 #0E5616 #178B23 #20C030 #3DDF4E

Accessibility & contrast

On white

4.42
#178B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#178B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178B23
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178B23#FFFFFF#000000##000000
##178B231.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D10
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #178b23;
/* rgb */ color: rgb(23, 139, 35);
/* oklch */ color: oklch(55.6% 0.171 143.9);
Tailwind
colors: {
  custom: {
    50: '#6cae65',
    500: '#178b23',
    950: '#000000',
  },
}
SCSS
$custom: #178b23;
$custom-light: #6cae65;
$custom-dark: #000000;
JSON
{
  "hex": "#178b23",
  "rgb": {
    "r": 23,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 126.207,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5558,
    "c": 0.17099,
    "h": 143.9
  },
  "luminance": 0.18769
}

Semantic roles & 50–950 ramp

primary
#178B23
secondary
#BF3FB1
accent
#39DCEE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178B23

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

Preview Lab → · Contrast checker → · Palette generator →

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