#178E25#178E25

#178E25 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.4% C 0.173 H 144.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#178E25
RGBrgb(23, 142, 37)
HSLhsl(127, 72%, 32%)
HSVhsv(127, 84%, 56%)
CMYKcmyk(83.8%, 0%, 73.9%, 44.3%)
CIE-LABlab(51.45, -51.90, 44.68)
CIE-LCHlch(51.45, 68.48, 139.27°)
OKLaboklab(56.45% -0.1403 0.1016)
OKLCHoklch(56.45% 0.173 144.1)
XYZxyz(10.3596, 19.6605, 4.9988)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E25 #8E1780
analogous
#448E17 #178E25 #178E61
triadic
#178E25 #25178E #8E2517
tetradic
#178E25 #17448E #8E1780 #8E6117
square
#178E25 #17448E #8E1780 #8E6117
split-complementary
#178E25 #61178E #8E1744
monochromatic
#06250A #0E5917 #178E25 #20C333 #3FE052

Accessibility & contrast

On white

4.26
#178E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#178E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E25
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E25#FFFFFF#000000##000000
##178E251.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918013
Deuteranopia (green-blind)
#847730
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178e25;
/* rgb */ color: rgb(23, 142, 37);
/* oklch */ color: oklch(56.4% 0.173 144.1);
Tailwind
colors: {
  custom: {
    50: '#6db066',
    500: '#178e25',
    950: '#000000',
  },
}
SCSS
$custom: #178e25;
$custom-light: #6db066;
$custom-dark: #000000;
JSON
{
  "hex": "#178e25",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 127.059,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56448,
    "c": 0.17317,
    "h": 144.1
  },
  "luminance": 0.19662
}

Semantic roles & 50–950 ramp

primary
#178E25
secondary
#C040B1
accent
#39D9EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178E25

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

Preview Lab → · Contrast checker → · Palette generator →

#178E25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva