#178428#178428

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

Color values

HEX#178428
RGBrgb(23, 132, 40)
HSLhsl(129, 70%, 30%)
HSVhsv(129, 83%, 52%)
CMYKcmyk(82.6%, 0%, 69.7%, 48.2%)
CIE-LABlab(48.05, -48.31, 39.87)
CIE-LCHlch(48.05, 62.63, 140.47°)
OKLaboklab(53.63% -0.1303 0.0919)
OKLCHoklch(53.63% 0.159 144.8)
XYZxyz(8.9870, 16.8368, 4.7833)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178428 #841773
analogous
#3C8417 #178428 #17845E
triadic
#178428 #281784 #842817
tetradic
#178428 #173C84 #841773 #845E17
square
#178428 #173C84 #841773 #845E17
split-complementary
#178428 #5E1784 #84173C
monochromatic
#051C08 #0E5018 #178428 #20B838 #39DC52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178428#FFFFFF#000000##FFFFFF
##1784281.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)
#86771B
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #178428;
/* rgb */ color: rgb(23, 132, 40);
/* oklch */ color: oklch(53.6% 0.159 144.8);
Tailwind
colors: {
  custom: {
    50: '#6aa967',
    500: '#178428',
    950: '#000000',
  },
}
SCSS
$custom: #178428;
$custom-light: #6aa967;
$custom-dark: #000000;
JSON
{
  "hex": "#178428",
  "rgb": {
    "r": 23,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 129.358,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5363,
    "c": 0.15947,
    "h": 144.8
  },
  "luminance": 0.16838
}

Semantic roles & 50–950 ramp

primary
#178428
secondary
#B83FA5
accent
#3BD1ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #178428

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

Preview Lab → · Contrast checker → · Palette generator →

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