#178F3D#178F3D

#178F3D is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.156 H 148.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#178F3D
RGBrgb(23, 143, 61)
HSLhsl(139, 72%, 33%)
HSVhsv(139, 84%, 56%)
CMYKcmyk(83.9%, 0%, 57.3%, 43.9%)
CIE-LABlab(52.02, -49.40, 34.48)
CIE-LCHlch(52.02, 60.25, 145.09°)
OKLaboklab(57% -0.1326 0.0823)
OKLCHoklch(57% 0.156 148.2)
XYZxyz(11.0172, 20.1626, 7.7251)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F3D #8F1769
analogous
#2D8F17 #178F3D #178F79
triadic
#178F3D #3D178F #8F3D17
tetradic
#178F3D #172D8F #8F1769 #8F7917
square
#178F3D #172D8F #8F1769 #8F7917
split-complementary
#178F3D #79178F #8F172D
monochromatic
#062610 #0F5A27 #178F3D #1FC453 #40E073

Accessibility & contrast

On white

4.17
#178F3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#178F3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F3D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F3D#FFFFFF#000000##000000
##178F3D1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908235
Deuteranopia (green-blind)
#847843
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #178f3d;
/* rgb */ color: rgb(23, 143, 61);
/* oklch */ color: oklch(57.0% 0.156 148.2);
Tailwind
colors: {
  custom: {
    50: '#6cb175',
    500: '#178f3d',
    950: '#000000',
  },
}
SCSS
$custom: #178f3d;
$custom-light: #6cb175;
$custom-dark: #000000;
JSON
{
  "hex": "#178f3d",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 61
  },
  "hsl": {
    "h": 139,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56995,
    "c": 0.15609,
    "h": 148.2
  },
  "luminance": 0.20164
}

Semantic roles & 50–950 ramp

primary
#178F3D
secondary
#C14198
accent
#39B5EF
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #178F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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