#178921#178921

#178921 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.0% C 0.170 H 143.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#178921
RGBrgb(23, 137, 33)
HSLhsl(125, 71%, 31%)
HSVhsv(125, 83%, 54%)
CMYKcmyk(83.2%, 0%, 75.9%, 46.3%)
CIE-LABlab(49.72, -50.63, 44.45)
CIE-LCHlch(49.72, 67.37, 138.72°)
OKLaboklab(55% -0.137 0.1006)
OKLCHoklch(55% 0.17 143.7)
XYZxyz(9.5729, 18.1821, 4.4435)
Luminance0.1818 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178921 #89177F
analogous
#468917 #178921 #17895A
triadic
#178921 #211789 #892117
tetradic
#178921 #174689 #89177F #895A17
square
#178921 #174689 #89177F #895A17
split-complementary
#178921 #5A1789 #891746
monochromatic
#052008 #0E5514 #178921 #20BD2E #3CDE4A

Accessibility & contrast

On white

4.53
#178921 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#178921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178921
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178921#FFFFFF#000000##000000
##1789211.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0D
Deuteranopia (green-blind)
#80732C
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #178921;
/* rgb */ color: rgb(23, 137, 33);
/* oklch */ color: oklch(55.0% 0.170 143.7);
Tailwind
colors: {
  custom: {
    50: '#6cad64',
    500: '#178921',
    950: '#000000',
  },
}
SCSS
$custom: #178921;
$custom-light: #6cad64;
$custom-dark: #000000;
JSON
{
  "hex": "#178921",
  "rgb": {
    "r": 23,
    "g": 137,
    "b": 33
  },
  "hsl": {
    "h": 125.263,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54995,
    "c": 0.16992,
    "h": 143.7
  },
  "luminance": 0.18183
}

Semantic roles & 50–950 ramp

primary
#178921
secondary
#BD3FB2
accent
#3ADEEE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178921

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

Preview Lab → · Contrast checker → · Palette generator →

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