#178040#178040

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

Color values

HEX#178040
RGBrgb(23, 128, 64)
HSLhsl(143, 70%, 30%)
HSVhsv(143, 82%, 50%)
CMYKcmyk(82%, 0%, 50%, 49.8%)
CIE-LABlab(46.96, -43.51, 26.71)
CIE-LCHlch(46.96, 51.05, 148.46°)
OKLaboklab(52.81% -0.1168 0.0651)
OKLCHoklch(52.81% 0.134 150.9)
XYZxyz(8.9971, 15.9896, 7.4616)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178040 #801757
analogous
#228017 #178040 #178075
triadic
#178040 #401780 #804017
tetradic
#178040 #172280 #801757 #807517
square
#178040 #172280 #801757 #807517
split-complementary
#178040 #751780 #801722
monochromatic
#051A0D #0E4C26 #178040 #20B45A #36DB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178040#FFFFFF#000000##FFFFFF
##1780401.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)
#81743B
Deuteranopia (green-blind)
#756C45
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #178040;
/* rgb */ color: rgb(23, 128, 64);
/* oklch */ color: oklch(52.8% 0.134 150.9);
Tailwind
colors: {
  custom: {
    50: '#68a676',
    500: '#178040',
    950: '#000000',
  },
}
SCSS
$custom: #178040;
$custom-light: #68a676;
$custom-dark: #000000;
JSON
{
  "hex": "#178040",
  "rgb": {
    "r": 23,
    "g": 128,
    "b": 64
  },
  "hsl": {
    "h": 143.429,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52814,
    "c": 0.13376,
    "h": 150.9
  },
  "luminance": 0.15991
}

Semantic roles & 50–950 ramp

primary
#178040
secondary
#B43E86
accent
#3BA7EC
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #178040

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

Preview Lab → · Contrast checker → · Palette generator →

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