#178540#178540

#178540 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.140 H 150.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#178540
RGBrgb(23, 133, 64)
HSLhsl(142, 71%, 31%)
HSVhsv(142, 83%, 52%)
CMYKcmyk(82.7%, 0%, 51.9%, 47.8%)
CIE-LABlab(48.67, -45.36, 28.85)
CIE-LCHlch(48.67, 53.76, 147.55°)
OKLaboklab(54.23% -0.1218 0.07)
OKLCHoklch(54.23% 0.14 150.1)
XYZxyz(9.6655, 17.3262, 7.6844)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178540 #85175C
analogous
#258517 #178540 #178577
triadic
#178540 #401785 #854017
tetradic
#178540 #172585 #85175C #857717
square
#178540 #172585 #85175C #857717
split-complementary
#178540 #771785 #851725
monochromatic
#051D0E #0E5127 #178540 #20B959 #3ADD76

Accessibility & contrast

On white

4.70
#178540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#178540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178540
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178540#FFFFFF#000000##FFFFFF
##1785401.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793A
Deuteranopia (green-blind)
#7A7045
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #178540;
/* rgb */ color: rgb(23, 133, 64);
/* oklch */ color: oklch(54.2% 0.140 150.1);
Tailwind
colors: {
  custom: {
    50: '#69aa76',
    500: '#178540',
    950: '#000000',
  },
}
SCSS
$custom: #178540;
$custom-light: #69aa76;
$custom-dark: #000000;
JSON
{
  "hex": "#178540",
  "rgb": {
    "r": 23,
    "g": 133,
    "b": 64
  },
  "hsl": {
    "h": 142.364,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54228,
    "c": 0.14043,
    "h": 150.1
  },
  "luminance": 0.17327
}

Semantic roles & 50–950 ramp

primary
#178540
secondary
#B93F8B
accent
#3BABED
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#071008
muted
#7A7F7B

Preview Lab

Preview with #178540

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

Preview Lab → · Contrast checker → · Palette generator →

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