#178B25#178B25

#178B25 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.170 H 144.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#178B25
RGBrgb(23, 139, 37)
HSLhsl(127, 72%, 32%)
HSVhsv(127, 83%, 55%)
CMYKcmyk(83.5%, 0%, 73.4%, 45.5%)
CIE-LABlab(50.43, -50.92, 43.63)
CIE-LCHlch(50.43, 67.06, 139.41°)
OKLaboklab(55.6% -0.1376 0.0994)
OKLCHoklch(55.6% 0.17 144.2)
XYZxyz(9.9192, 18.7797, 4.8520)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178B25 #8B177D
analogous
#438B17 #178B25 #178B5F
triadic
#178B25 #25178B #8B2517
tetradic
#178B25 #17438B #8B177D #8B5F17
square
#178B25 #17438B #8B177D #8B5F17
split-complementary
#178B25 #5F178B #8B1743
monochromatic
#062209 #0E5617 #178B25 #20C033 #3DDF51

Accessibility & contrast

On white

4.42
#178B25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#178B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178B25
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178B25#FFFFFF#000000##000000
##178B251.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D14
Deuteranopia (green-blind)
#81752F
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #178b25;
/* rgb */ color: rgb(23, 139, 37);
/* oklch */ color: oklch(55.6% 0.170 144.2);
Tailwind
colors: {
  custom: {
    50: '#6cae66',
    500: '#178b25',
    950: '#000000',
  },
}
SCSS
$custom: #178b25;
$custom-light: #6cae66;
$custom-dark: #000000;
JSON
{
  "hex": "#178b25",
  "rgb": {
    "r": 23,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 127.241,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55597,
    "c": 0.16974,
    "h": 144.2
  },
  "luminance": 0.18781
}

Semantic roles & 50–950 ramp

primary
#178B25
secondary
#BF3FAF
accent
#39D9EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178B25

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

Preview Lab → · Contrast checker → · Palette generator →

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