#178F25#178F25

#178F25 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.7% C 0.174 H 144.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#178F25
RGBrgb(23, 143, 37)
HSLhsl(127, 72%, 33%)
HSVhsv(127, 84%, 56%)
CMYKcmyk(83.9%, 0%, 74.1%, 43.9%)
CIE-LABlab(51.79, -52.22, 45.03)
CIE-LCHlch(51.79, 68.96, 139.23°)
OKLaboklab(56.73% -0.1411 0.1023)
OKLCHoklch(56.73% 0.174 144.1)
XYZxyz(10.5090, 19.9594, 5.0486)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F25 #8F1781
analogous
#458F17 #178F25 #178F61
triadic
#178F25 #25178F #8F2517
tetradic
#178F25 #17458F #8F1781 #8F6117
square
#178F25 #17458F #8F1781 #8F6117
split-complementary
#178F25 #61178F #8F1745
monochromatic
#06260A #0F5A17 #178F25 #1FC433 #40E053

Accessibility & contrast

On white

4.21
#178F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#178F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F25
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F25#FFFFFF#000000##000000
##178F251.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928112
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178f25;
/* rgb */ color: rgb(23, 143, 37);
/* oklch */ color: oklch(56.7% 0.174 144.1);
Tailwind
colors: {
  custom: {
    50: '#6db166',
    500: '#178f25',
    950: '#000000',
  },
}
SCSS
$custom: #178f25;
$custom-light: #6db166;
$custom-dark: #000000;
JSON
{
  "hex": "#178f25",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 127,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56731,
    "c": 0.17431,
    "h": 144.1
  },
  "luminance": 0.19961
}

Semantic roles & 50–950 ramp

primary
#178F25
secondary
#C141B2
accent
#39DAEF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178F25

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

Preview Lab → · Contrast checker → · Palette generator →

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