#178427#178427

#178427 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.6% C 0.160 H 144.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#178427
RGBrgb(23, 132, 39)
HSLhsl(129, 70%, 30%)
HSVhsv(129, 83%, 52%)
CMYKcmyk(82.6%, 0%, 70.5%, 48.2%)
CIE-LABlab(48.05, -48.41, 40.29)
CIE-LCHlch(48.05, 62.98, 140.23°)
OKLaboklab(53.62% -0.1307 0.0926)
OKLCHoklch(53.62% 0.16 144.7)
XYZxyz(8.9702, 16.8301, 4.6948)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178427 #841774
analogous
#3E8417 #178427 #17845D
triadic
#178427 #271784 #842717
tetradic
#178427 #173E84 #841774 #845D17
square
#178427 #173E84 #841774 #845D17
split-complementary
#178427 #5D1784 #84173E
monochromatic
#051C08 #0E5018 #178427 #20B836 #39DC51

Accessibility & contrast

On white

4.81
#178427 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#178427 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178427
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178427#FFFFFF#000000##FFFFFF
##1784271.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771A
Deuteranopia (green-blind)
#7B6F30
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #178427;
/* rgb */ color: rgb(23, 132, 39);
/* oklch */ color: oklch(53.6% 0.160 144.7);
Tailwind
colors: {
  custom: {
    50: '#6aa966',
    500: '#178427',
    950: '#000000',
  },
}
SCSS
$custom: #178427;
$custom-light: #6aa966;
$custom-dark: #000000;
JSON
{
  "hex": "#178427",
  "rgb": {
    "r": 23,
    "g": 132,
    "b": 39
  },
  "hsl": {
    "h": 128.807,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5362,
    "c": 0.16019,
    "h": 144.7
  },
  "luminance": 0.16831
}

Semantic roles & 50–950 ramp

primary
#178427
secondary
#B83FA6
accent
#3BD3ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #178427

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

Preview Lab → · Contrast checker → · Palette generator →

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