#178F23#178F23

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

Color values

HEX#178F23
RGBrgb(23, 143, 35)
HSLhsl(126, 72%, 33%)
HSVhsv(126, 84%, 56%)
CMYKcmyk(83.9%, 0%, 75.5%, 43.9%)
CIE-LABlab(51.78, -52.39, 45.78)
CIE-LCHlch(51.78, 69.58, 138.86°)
OKLaboklab(56.72% -0.1417 0.1036)
OKLCHoklch(56.72% 0.176 143.8)
XYZxyz(10.4785, 19.9471, 4.8877)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F23 #8F1783
analogous
#478F17 #178F23 #178F5F
triadic
#178F23 #23178F #8F2317
tetradic
#178F23 #17478F #8F1783 #8F5F17
square
#178F23 #17478F #8F1783 #8F5F17
split-complementary
#178F23 #5F178F #8F1747
monochromatic
#062609 #0F5A16 #178F23 #1FC430 #40E050

Accessibility & contrast

On white

4.21
#178F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#178F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F23
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F23#FFFFFF#000000##000000
##178F231.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178f23;
/* rgb */ color: rgb(23, 143, 35);
/* oklch */ color: oklch(56.7% 0.176 143.8);
Tailwind
colors: {
  custom: {
    50: '#6db165',
    500: '#178f23',
    950: '#000000',
  },
}
SCSS
$custom: #178f23;
$custom-light: #6db165;
$custom-dark: #000000;
JSON
{
  "hex": "#178f23",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 126,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56715,
    "c": 0.17553,
    "h": 143.8
  },
  "luminance": 0.19948
}

Semantic roles & 50–950 ramp

primary
#178F23
secondary
#C141B4
accent
#39DDEF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178F23

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

Preview Lab → · Contrast checker → · Palette generator →

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