#178431#178431

#178431 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.7% C 0.152 H 146.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#178431
RGBrgb(23, 132, 49)
HSLhsl(134, 70%, 30%)
HSVhsv(134, 83%, 52%)
CMYKcmyk(82.6%, 0%, 62.9%, 48.2%)
CIE-LABlab(48.14, -47.24, 35.83)
CIE-LCHlch(48.14, 59.29, 142.82°)
OKLaboklab(53.73% -0.1271 0.0843)
OKLCHoklch(53.73% 0.153 146.5)
XYZxyz(9.1583, 16.9053, 5.6855)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178431 #84176A
analogous
#338417 #178431 #178467
triadic
#178431 #311784 #843117
tetradic
#178431 #173384 #84176A #846717
square
#178431 #173384 #84176A #846717
split-complementary
#178431 #671784 #841733
monochromatic
#051C0A #0E501E #178431 #20B844 #39DC60

Accessibility & contrast

On white

4.79
#178431 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#178431 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178431
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178431#FFFFFF#000000##FFFFFF
##1784311.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867728
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #178431;
/* rgb */ color: rgb(23, 132, 49);
/* oklch */ color: oklch(53.7% 0.152 146.5);
Tailwind
colors: {
  custom: {
    50: '#69a96c',
    500: '#178431',
    950: '#000000',
  },
}
SCSS
$custom: #178431;
$custom-light: #69a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#178431",
  "rgb": {
    "r": 23,
    "g": 132,
    "b": 49
  },
  "hsl": {
    "h": 134.312,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5373,
    "c": 0.1525,
    "h": 146.5
  },
  "luminance": 0.16906
}

Semantic roles & 50–950 ramp

primary
#178431
secondary
#B83F9B
accent
#3BC3ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#071007
muted
#7A7F7A

Preview Lab

Preview with #178431

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

Preview Lab → · Contrast checker → · Palette generator →

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