#178140#178140

#178140 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.135 H 150.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#178140
RGBrgb(23, 129, 64)
HSLhsl(143, 70%, 30%)
HSVhsv(143, 82%, 51%)
CMYKcmyk(82.2%, 0%, 50.4%, 49.4%)
CIE-LABlab(47.30, -43.88, 27.14)
CIE-LCHlch(47.30, 51.60, 148.27°)
OKLaboklab(53.1% -0.1178 0.0661)
OKLCHoklch(53.1% 0.135 150.7)
XYZxyz(9.1282, 16.2517, 7.5053)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178140 #811758
analogous
#238117 #178140 #178175
triadic
#178140 #401781 #814017
tetradic
#178140 #172381 #811758 #817517
square
#178140 #172381 #811758 #817517
split-complementary
#178140 #751781 #811723
monochromatic
#051A0D #0E4D26 #178140 #20B55A #37DB77

Accessibility & contrast

On white

4.94
#178140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#178140 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178140
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178140#FFFFFF#000000##FFFFFF
##1781401.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82753B
Deuteranopia (green-blind)
#766D45
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #178140;
/* rgb */ color: rgb(23, 129, 64);
/* oklch */ color: oklch(53.1% 0.135 150.7);
Tailwind
colors: {
  custom: {
    50: '#68a776',
    500: '#178140',
    950: '#000000',
  },
}
SCSS
$custom: #178140;
$custom-light: #68a776;
$custom-dark: #000000;
JSON
{
  "hex": "#178140",
  "rgb": {
    "r": 23,
    "g": 129,
    "b": 64
  },
  "hsl": {
    "h": 143.208,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53097,
    "c": 0.1351,
    "h": 150.7
  },
  "luminance": 0.16253
}

Semantic roles & 50–950 ramp

primary
#178140
secondary
#B53E87
accent
#3BA8ED
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #178140

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

Preview Lab → · Contrast checker → · Palette generator →

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