#178020#178020

#178020 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.160 H 143.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#178020
RGBrgb(23, 128, 32)
HSLhsl(125, 70%, 30%)
HSVhsv(125, 82%, 50%)
CMYKcmyk(82%, 0%, 75%, 49.8%)
CIE-LABlab(46.61, -47.75, 41.67)
CIE-LCHlch(46.61, 63.38, 138.89°)
OKLaboklab(52.41% -0.1292 0.0946)
OKLCHoklch(52.41% 0.16 143.8)
XYZxyz(8.3327, 15.7238, 3.9621)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178020 #801777
analogous
#438017 #178020 #178055
triadic
#178020 #201780 #802017
tetradic
#178020 #174380 #801777 #805517
square
#178020 #174380 #801777 #805517
split-complementary
#178020 #551780 #801743
monochromatic
#051A06 #0E4C13 #178020 #20B42D #36DB45

Accessibility & contrast

On white

5.07
#178020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#178020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178020
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178020#FFFFFF#000000##FFFFFF
##1780201.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730F
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #178020;
/* rgb */ color: rgb(23, 128, 32);
/* oklch */ color: oklch(52.4% 0.160 143.8);
Tailwind
colors: {
  custom: {
    50: '#69a662',
    500: '#178020',
    950: '#000000',
  },
}
SCSS
$custom: #178020;
$custom-light: #69a662;
$custom-dark: #000000;
JSON
{
  "hex": "#178020",
  "rgb": {
    "r": 23,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 125.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52409,
    "c": 0.16015,
    "h": 143.8
  },
  "luminance": 0.15725
}

Semantic roles & 50–950 ramp

primary
#178020
secondary
#B43EAA
accent
#3BDDEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #178020

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

Preview Lab → · Contrast checker → · Palette generator →

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