#178421#178421

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

Color values

HEX#178421
RGBrgb(23, 132, 33)
HSLhsl(126, 70%, 30%)
HSVhsv(126, 83%, 52%)
CMYKcmyk(82.6%, 0%, 75%, 48.2%)
CIE-LABlab(48.00, -48.99, 42.70)
CIE-LCHlch(48.00, 64.99, 138.92°)
OKLaboklab(53.57% -0.1325 0.0969)
OKLCHoklch(53.57% 0.164 143.8)
XYZxyz(8.8785, 16.7934, 4.2121)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178421 #84177A
analogous
#438417 #178421 #178458
triadic
#178421 #211784 #842117
tetradic
#178421 #174384 #84177A #845817
square
#178421 #174384 #84177A #845817
split-complementary
#178421 #581784 #841743
monochromatic
#051C07 #0E5014 #178421 #20B82E #39DC48

Accessibility & contrast

On white

4.82
#178421 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#178421 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178421
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178421#FFFFFF#000000##FFFFFF
##1784211.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770F
Deuteranopia (green-blind)
#7B6F2B
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #178421;
/* rgb */ color: rgb(23, 132, 33);
/* oklch */ color: oklch(53.6% 0.164 143.8);
Tailwind
colors: {
  custom: {
    50: '#6aa963',
    500: '#178421',
    950: '#000000',
  },
}
SCSS
$custom: #178421;
$custom-light: #6aa963;
$custom-dark: #000000;
JSON
{
  "hex": "#178421",
  "rgb": {
    "r": 23,
    "g": 132,
    "b": 33
  },
  "hsl": {
    "h": 125.505,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53566,
    "c": 0.16418,
    "h": 143.8
  },
  "luminance": 0.16794
}

Semantic roles & 50–950 ramp

primary
#178421
secondary
#B83FAD
accent
#3BDDED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #178421

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

Preview Lab → · Contrast checker → · Palette generator →

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