#178F1B#178F1B

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

Color values

HEX#178F1B
RGBrgb(23, 143, 27)
HSLhsl(122, 72%, 33%)
HSVhsv(122, 84%, 56%)
CMYKcmyk(83.9%, 0%, 81.1%, 43.9%)
CIE-LABlab(51.73, -53.00, 48.50)
CIE-LCHlch(51.73, 71.84, 137.54°)
OKLaboklab(56.66% -0.1437 0.1082)
OKLCHoklch(56.66% 0.18 143)
XYZxyz(10.3730, 19.9049, 4.3320)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F1B #8F178B
analogous
#4F8F17 #178F1B #178F57
triadic
#178F1B #1B178F #8F1B17
tetradic
#178F1B #174F8F #8F178B #8F5717
square
#178F1B #174F8F #8F178B #8F5717
split-complementary
#178F1B #57178F #8F174F
monochromatic
#062607 #0F5A11 #178F1B #1FC425 #40E045

Accessibility & contrast

On white

4.22
#178F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#178F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F1B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F1B#FFFFFF#000000##000000
##178F1B1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178f1b;
/* rgb */ color: rgb(23, 143, 27);
/* oklch */ color: oklch(56.7% 0.180 143.0);
Tailwind
colors: {
  custom: {
    50: '#6eb162',
    500: '#178f1b',
    950: '#000000',
  },
}
SCSS
$custom: #178f1b;
$custom-light: #6eb162;
$custom-dark: #000000;
JSON
{
  "hex": "#178f1b",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 122,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5666,
    "c": 0.17985,
    "h": 143
  },
  "luminance": 0.19906
}

Semantic roles & 50–950 ramp

primary
#178F1B
secondary
#C141BC
accent
#39E9EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #178F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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