#178C25#178C25

#178C25 is a mid, vivid green. Relative luminance 0.191; OKLCH L 55.9% C 0.171 H 144.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#178C25
RGBrgb(23, 140, 37)
HSLhsl(127, 72%, 32%)
HSVhsv(127, 84%, 55%)
CMYKcmyk(83.6%, 0%, 73.6%, 45.1%)
CIE-LABlab(50.77, -51.25, 43.98)
CIE-LCHlch(50.77, 67.53, 139.37°)
OKLaboklab(55.88% -0.1385 0.1001)
OKLCHoklch(55.88% 0.171 144.1)
XYZxyz(10.0647, 19.0707, 4.9005)
Luminance0.1907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C25 #8C177E
analogous
#448C17 #178C25 #178C5F
triadic
#178C25 #25178C #8C2517
tetradic
#178C25 #17448C #8C177E #8C5F17
square
#178C25 #17448C #8C177E #8C5F17
split-complementary
#178C25 #5F178C #8C1744
monochromatic
#062309 #0E5717 #178C25 #20C133 #3EDF51

Accessibility & contrast

On white

4.36
#178C25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#178C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178C25
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178C25#FFFFFF#000000##000000
##178C251.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E14
Deuteranopia (green-blind)
#827630
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #178c25;
/* rgb */ color: rgb(23, 140, 37);
/* oklch */ color: oklch(55.9% 0.171 144.1);
Tailwind
colors: {
  custom: {
    50: '#6caf66',
    500: '#178c25',
    950: '#000000',
  },
}
SCSS
$custom: #178c25;
$custom-light: #6caf66;
$custom-dark: #000000;
JSON
{
  "hex": "#178c25",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 37
  },
  "hsl": {
    "h": 127.179,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55881,
    "c": 0.17089,
    "h": 144.1
  },
  "luminance": 0.19072
}

Semantic roles & 50–950 ramp

primary
#178C25
secondary
#BF3FB0
accent
#39D9EF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178C25

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

Preview Lab → · Contrast checker → · Palette generator →

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