#178B1E#178B1E

#178B1E is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.5% C 0.174 H 143.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#178B1E
RGBrgb(23, 139, 30)
HSLhsl(124, 72%, 32%)
HSVhsv(124, 83%, 55%)
CMYKcmyk(83.5%, 0%, 78.4%, 45.5%)
CIE-LABlab(50.38, -51.51, 46.20)
CIE-LCHlch(50.38, 69.19, 138.11°)
OKLaboklab(55.54% -0.1395 0.1038)
OKLCHoklch(55.54% 0.174 143.4)
XYZxyz(9.8197, 18.7399, 4.3277)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178B1E #8B1784
analogous
#4A8B17 #178B1E #178B58
triadic
#178B1E #1E178B #8B1E17
tetradic
#178B1E #174A8B #8B1784 #8B5817
square
#178B1E #174A8B #8B1784 #8B5817
split-complementary
#178B1E #58178B #8B174A
monochromatic
#062207 #0E5613 #178B1E #20C029 #3DDF47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178B1E#FFFFFF#000000##000000
##178B1E1.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)
#8E7D04
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #178b1e;
/* rgb */ color: rgb(23, 139, 30);
/* oklch */ color: oklch(55.5% 0.174 143.4);
Tailwind
colors: {
  custom: {
    50: '#6cae62',
    500: '#178b1e',
    950: '#000000',
  },
}
SCSS
$custom: #178b1e;
$custom-light: #6cae62;
$custom-dark: #000000;
JSON
{
  "hex": "#178b1e",
  "rgb": {
    "r": 23,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 123.621,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55543,
    "c": 0.17388,
    "h": 143.4
  },
  "luminance": 0.18741
}

Semantic roles & 50–950 ramp

primary
#178B1E
secondary
#BF3FB7
accent
#39E3EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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