#178F3B#178F3B

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

Color values

HEX#178F3B
RGBrgb(23, 143, 59)
HSLhsl(138, 72%, 33%)
HSVhsv(138, 84%, 56%)
CMYKcmyk(83.9%, 0%, 58.7%, 43.9%)
CIE-LABlab(52.00, -49.69, 35.45)
CIE-LCHlch(52.00, 61.04, 144.50°)
OKLaboklab(56.97% -0.1335 0.0843)
OKLCHoklch(56.97% 0.158 147.7)
XYZxyz(10.9643, 20.1415, 7.4467)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F3B #8F176B
analogous
#2F8F17 #178F3B #178F77
triadic
#178F3B #3B178F #8F3B17
tetradic
#178F3B #172F8F #8F176B #8F7717
square
#178F3B #172F8F #8F176B #8F7717
split-complementary
#178F3B #77178F #8F172F
monochromatic
#06260F #0F5A25 #178F3B #1FC451 #40E070

Accessibility & contrast

On white

4.18
#178F3B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##178F3B#FFFFFF#000000##000000
##178F3B1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918133
Deuteranopia (green-blind)
#847842
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #178f3b;
/* rgb */ color: rgb(23, 143, 59);
/* oklch */ color: oklch(57.0% 0.158 147.7);
Tailwind
colors: {
  custom: {
    50: '#6cb173',
    500: '#178f3b',
    950: '#000000',
  },
}
SCSS
$custom: #178f3b;
$custom-light: #6cb173;
$custom-dark: #000000;
JSON
{
  "hex": "#178f3b",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 59
  },
  "hsl": {
    "h": 138,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56968,
    "c": 0.15783,
    "h": 147.7
  },
  "luminance": 0.20143
}

Semantic roles & 50–950 ramp

primary
#178F3B
secondary
#C1419A
accent
#39B8EF
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #178F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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