#178621#178621

#178621 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.1% C 0.166 H 143.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#178621
RGBrgb(23, 134, 33)
HSLhsl(125, 71%, 31%)
HSVhsv(125, 83%, 53%)
CMYKcmyk(82.8%, 0%, 75.4%, 47.5%)
CIE-LABlab(48.69, -49.65, 43.40)
CIE-LCHlch(48.69, 65.94, 138.84°)
OKLaboklab(54.14% -0.1343 0.0984)
OKLCHoklch(54.14% 0.166 143.8)
XYZxyz(9.1523, 17.3410, 4.3033)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178621 #86177C
analogous
#458617 #178621 #178658
triadic
#178621 #211786 #862117
tetradic
#178621 #174586 #86177C #865817
square
#178621 #174586 #86177C #865817
split-complementary
#178621 #581786 #861745
monochromatic
#051E07 #0E5214 #178621 #20BA2E #3ADD49

Accessibility & contrast

On white

4.70
#178621 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#178621 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178621
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178621#FFFFFF#000000##FFFFFF
##1786211.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89790E
Deuteranopia (green-blind)
#7D702C
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #178621;
/* rgb */ color: rgb(23, 134, 33);
/* oklch */ color: oklch(54.1% 0.166 143.8);
Tailwind
colors: {
  custom: {
    50: '#6baa63',
    500: '#178621',
    950: '#000000',
  },
}
SCSS
$custom: #178621;
$custom-light: #6baa63;
$custom-dark: #000000;
JSON
{
  "hex": "#178621",
  "rgb": {
    "r": 23,
    "g": 134,
    "b": 33
  },
  "hsl": {
    "h": 125.405,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54139,
    "c": 0.16649,
    "h": 143.8
  },
  "luminance": 0.17342
}

Semantic roles & 50–950 ramp

primary
#178621
secondary
#BA3FAF
accent
#3ADDED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178621

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

Preview Lab → · Contrast checker → · Palette generator →

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