#178D25#178D25

#178D25 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.172 H 144.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#178D25
RGBrgb(23, 141, 37)
HSLhsl(127, 72%, 32%)
HSVhsv(127, 84%, 55%)
CMYKcmyk(83.7%, 0%, 73.8%, 44.7%)
CIE-LABlab(51.11, -51.57, 44.33)
CIE-LCHlch(51.11, 68.01, 139.32°)
OKLaboklab(56.16% -0.1394 0.1009)
OKLCHoklch(56.16% 0.172 144.1)
XYZxyz(10.2115, 19.3642, 4.9494)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D25 #8D177F
analogous
#448D17 #178D25 #178D60
triadic
#178D25 #25178D #8D2517
tetradic
#178D25 #17448D #8D177F #8D6017
square
#178D25 #17448D #8D177F #8D6017
split-complementary
#178D25 #60178D #8D1744
monochromatic
#062409 #0E5817 #178D25 #20C233 #3FE052

Accessibility & contrast

On white

4.31
#178D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#178D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178D25
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178D25#FFFFFF#000000##000000
##178D251.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F13
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d25;
/* rgb */ color: rgb(23, 141, 37);
/* oklch */ color: oklch(56.2% 0.172 144.1);
Tailwind
colors: {
  custom: {
    50: '#6daf66',
    500: '#178d25',
    950: '#000000',
  },
}
SCSS
$custom: #178d25;
$custom-light: #6daf66;
$custom-dark: #000000;
JSON
{
  "hex": "#178d25",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 127.119,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.17203,
    "h": 144.1
  },
  "luminance": 0.19365
}

Semantic roles & 50–950 ramp

primary
#178D25
secondary
#C040B1
accent
#39D9EF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178D25

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

Preview Lab → · Contrast checker → · Palette generator →

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