#178F38#178F38

#178F38 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.160 H 147.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#178F38
RGBrgb(23, 143, 56)
HSLhsl(137, 72%, 33%)
HSVhsv(137, 84%, 56%)
CMYKcmyk(83.9%, 0%, 60.8%, 43.9%)
CIE-LABlab(51.96, -50.10, 36.87)
CIE-LCHlch(51.96, 62.21, 143.65°)
OKLaboklab(56.93% -0.1346 0.0871)
OKLCHoklch(56.93% 0.16 147.1)
XYZxyz(10.8888, 20.1113, 7.0486)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F38 #8F176E
analogous
#328F17 #178F38 #178F74
triadic
#178F38 #38178F #8F3817
tetradic
#178F38 #17328F #8F176E #8F7417
square
#178F38 #17328F #8F176E #8F7417
split-complementary
#178F38 #74178F #8F1732
monochromatic
#06260F #0F5A23 #178F38 #1FC44D #40E06C

Accessibility & contrast

On white

4.18
#178F38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#178F38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F38
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F38#FFFFFF#000000##000000
##178F381.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812F
Deuteranopia (green-blind)
#84783F
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #178f38;
/* rgb */ color: rgb(23, 143, 56);
/* oklch */ color: oklch(56.9% 0.160 147.1);
Tailwind
colors: {
  custom: {
    50: '#6cb171',
    500: '#178f38',
    950: '#000000',
  },
}
SCSS
$custom: #178f38;
$custom-light: #6cb171;
$custom-dark: #000000;
JSON
{
  "hex": "#178f38",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 56
  },
  "hsl": {
    "h": 136.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56928,
    "c": 0.16037,
    "h": 147.1
  },
  "luminance": 0.20113
}

Semantic roles & 50–950 ramp

primary
#178F38
secondary
#C1419E
accent
#39BDEF
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #178F38

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

Preview Lab → · Contrast checker → · Palette generator →

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