#178042#178042

#178042 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.132 H 151.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#178042
RGBrgb(23, 128, 66)
HSLhsl(145, 70%, 30%)
HSVhsv(145, 82%, 50%)
CMYKcmyk(82%, 0%, 48.4%, 49.8%)
CIE-LABlab(46.99, -43.15, 25.66)
CIE-LCHlch(46.99, 50.21, 149.26°)
OKLaboklab(52.85% -0.1159 0.0628)
OKLCHoklch(52.85% 0.132 151.5)
XYZxyz(9.0551, 16.0127, 7.7667)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178042 #801755
analogous
#218017 #178042 #178076
triadic
#178042 #421780 #804217
tetradic
#178042 #172180 #801755 #807617
square
#178042 #172180 #801755 #807617
split-complementary
#178042 #761780 #801721
monochromatic
#051A0D #0E4C27 #178042 #20B45D #36DB7A

Accessibility & contrast

On white

5.00
#178042 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#178042 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178042
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178042#FFFFFF#000000##FFFFFF
##1780421.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743D
Deuteranopia (green-blind)
#756C46
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #178042;
/* rgb */ color: rgb(23, 128, 66);
/* oklch */ color: oklch(52.8% 0.132 151.5);
Tailwind
colors: {
  custom: {
    50: '#68a677',
    500: '#178042',
    950: '#000000',
  },
}
SCSS
$custom: #178042;
$custom-light: #68a677;
$custom-dark: #000000;
JSON
{
  "hex": "#178042",
  "rgb": {
    "r": 23,
    "g": 128,
    "b": 66
  },
  "hsl": {
    "h": 144.571,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52849,
    "c": 0.13183,
    "h": 151.5
  },
  "luminance": 0.16014
}

Semantic roles & 50–950 ramp

primary
#178042
secondary
#B43E84
accent
#3BA4EC
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #178042

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

Preview Lab → · Contrast checker → · Palette generator →

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