#178A25#178A25

#178A25 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.3% C 0.169 H 144.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#178A25
RGBrgb(23, 138, 37)
HSLhsl(127, 71%, 32%)
HSVhsv(127, 83%, 54%)
CMYKcmyk(83.3%, 0%, 73.2%, 45.9%)
CIE-LABlab(50.09, -50.60, 43.27)
CIE-LCHlch(50.09, 66.58, 139.46°)
OKLaboklab(55.31% -0.1367 0.0986)
OKLCHoklch(55.31% 0.169 144.2)
XYZxyz(9.7751, 18.4915, 4.8039)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178A25 #8A177C
analogous
#438A17 #178A25 #178A5F
triadic
#178A25 #25178A #8A2517
tetradic
#178A25 #17438A #8A177C #8A5F17
square
#178A25 #17438A #8A177C #8A5F17
split-complementary
#178A25 #5F178A #8A1743
monochromatic
#062109 #0E5617 #178A25 #20BE33 #3DDF50

Accessibility & contrast

On white

4.47
#178A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#178A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178A25
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178A25#FFFFFF#000000##000000
##178A251.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C14
Deuteranopia (green-blind)
#80742F
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #178a25;
/* rgb */ color: rgb(23, 138, 37);
/* oklch */ color: oklch(55.3% 0.169 144.2);
Tailwind
colors: {
  custom: {
    50: '#6cad66',
    500: '#178a25',
    950: '#000000',
  },
}
SCSS
$custom: #178a25;
$custom-light: #6cad66;
$custom-dark: #000000;
JSON
{
  "hex": "#178a25",
  "rgb": {
    "r": 23,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 127.304,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55313,
    "c": 0.16858,
    "h": 144.2
  },
  "luminance": 0.18493
}

Semantic roles & 50–950 ramp

primary
#178A25
secondary
#BE3FAE
accent
#3AD8EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178A25

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

Preview Lab → · Contrast checker → · Palette generator →

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