#178820#178820

#178820 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.7% C 0.169 H 143.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#178820
RGBrgb(23, 136, 32)
HSLhsl(125, 71%, 31%)
HSVhsv(125, 83%, 53%)
CMYKcmyk(83.1%, 0%, 76.5%, 46.7%)
CIE-LABlab(49.37, -50.39, 44.47)
CIE-LCHlch(49.37, 67.20, 138.57°)
OKLaboklab(54.7% -0.1364 0.1005)
OKLCHoklch(54.7% 0.169 143.6)
XYZxyz(9.4176, 17.8936, 4.3237)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178820 #88177F
analogous
#468817 #178820 #178858
triadic
#178820 #201788 #882017
tetradic
#178820 #174688 #88177F #885817
square
#178820 #174688 #88177F #885817
split-complementary
#178820 #581788 #881746
monochromatic
#051F07 #0E5414 #178820 #20BC2C #3BDE48

Accessibility & contrast

On white

4.59
#178820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#178820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #178820
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178820#FFFFFF#000000##FFFFFF
##1788201.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0B
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #178820;
/* rgb */ color: rgb(23, 136, 32);
/* oklch */ color: oklch(54.7% 0.169 143.6);
Tailwind
colors: {
  custom: {
    50: '#6bac63',
    500: '#178820',
    950: '#000000',
  },
}
SCSS
$custom: #178820;
$custom-light: #6bac63;
$custom-dark: #000000;
JSON
{
  "hex": "#178820",
  "rgb": {
    "r": 23,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 124.779,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54702,
    "c": 0.16938,
    "h": 143.6
  },
  "luminance": 0.17895
}

Semantic roles & 50–950 ramp

primary
#178820
secondary
#BC3FB2
accent
#3ADFEE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178820

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

Preview Lab → · Contrast checker → · Palette generator →

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