#178531#178531

#178531 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.0% C 0.154 H 146.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#178531
RGBrgb(23, 133, 49)
HSLhsl(134, 71%, 31%)
HSVhsv(134, 83%, 52%)
CMYKcmyk(82.7%, 0%, 63.2%, 47.8%)
CIE-LABlab(48.48, -47.59, 36.23)
CIE-LCHlch(48.48, 59.81, 142.72°)
OKLaboklab(54.02% -0.128 0.0851)
OKLCHoklch(54.02% 0.154 146.4)
XYZxyz(9.2946, 17.1778, 5.7309)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178531 #85176B
analogous
#348517 #178531 #178568
triadic
#178531 #311785 #853117
tetradic
#178531 #173485 #85176B #856817
square
#178531 #173485 #85176B #856817
split-complementary
#178531 #681785 #851734
monochromatic
#051D0B #0E511E #178531 #20B944 #3ADD60

Accessibility & contrast

On white

4.73
#178531 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#178531 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178531
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178531#FFFFFF#000000##FFFFFF
##1785311.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877828
Deuteranopia (green-blind)
#7B7038
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #178531;
/* rgb */ color: rgb(23, 133, 49);
/* oklch */ color: oklch(54.0% 0.154 146.4);
Tailwind
colors: {
  custom: {
    50: '#6aaa6c',
    500: '#178531',
    950: '#000000',
  },
}
SCSS
$custom: #178531;
$custom-light: #6aaa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#178531",
  "rgb": {
    "r": 23,
    "g": 133,
    "b": 49
  },
  "hsl": {
    "h": 134.182,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54015,
    "c": 0.15374,
    "h": 146.4
  },
  "luminance": 0.17179
}

Semantic roles & 50–950 ramp

primary
#178531
secondary
#B93F9C
accent
#3BC3ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #178531

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

Preview Lab → · Contrast checker → · Palette generator →

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