#178942#178942

#178942 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.144 H 150.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#178942
RGBrgb(23, 137, 66)
HSLhsl(143, 71%, 31%)
HSVhsv(143, 83%, 54%)
CMYKcmyk(83.2%, 0%, 51.8%, 46.3%)
CIE-LABlab(50.06, -46.49, 29.51)
CIE-LCHlch(50.06, 55.07, 147.59°)
OKLaboklab(55.39% -0.1248 0.0716)
OKLCHoklch(55.39% 0.144 150.2)
XYZxyz(10.2815, 18.4656, 8.1755)
Luminance0.1847 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178942 #89175E
analogous
#258917 #178942 #17897B
triadic
#178942 #421789 #894217
tetradic
#178942 #172589 #89175E #897B17
square
#178942 #172589 #89175E #897B17
split-complementary
#178942 #7B1789 #891725
monochromatic
#052010 #0E5529 #178942 #20BD5B #3CDE79

Accessibility & contrast

On white

4.47
#178942 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#178942 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178942
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178942#FFFFFF#000000##000000
##1789421.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C3C
Deuteranopia (green-blind)
#7D7447
Tritanopia (blue-blind)
#008679
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #178942;
/* rgb */ color: rgb(23, 137, 66);
/* oklch */ color: oklch(55.4% 0.144 150.2);
Tailwind
colors: {
  custom: {
    50: '#6aac78',
    500: '#178942',
    950: '#000000',
  },
}
SCSS
$custom: #178942;
$custom-light: #6aac78;
$custom-dark: #000000;
JSON
{
  "hex": "#178942",
  "rgb": {
    "r": 23,
    "g": 137,
    "b": 66
  },
  "hsl": {
    "h": 142.632,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55387,
    "c": 0.14384,
    "h": 150.2
  },
  "luminance": 0.18467
}

Semantic roles & 50–950 ramp

primary
#178942
secondary
#BD3F8D
accent
#3AAAEE
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #178942

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

Preview Lab → · Contrast checker → · Palette generator →

#178942 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva