#178142#178142

#178142 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.133 H 151.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#178142
RGBrgb(23, 129, 66)
HSLhsl(144, 70%, 30%)
HSVhsv(144, 82%, 51%)
CMYKcmyk(82.2%, 0%, 48.8%, 49.4%)
CIE-LABlab(47.33, -43.53, 26.09)
CIE-LCHlch(47.33, 50.75, 149.06°)
OKLaboklab(53.13% -0.1169 0.0638)
OKLCHoklch(53.13% 0.133 151.4)
XYZxyz(9.1862, 16.2749, 7.8104)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178142 #811756
analogous
#218117 #178142 #178177
triadic
#178142 #421781 #814217
tetradic
#178142 #172181 #811756 #817717
square
#178142 #172181 #811756 #817717
split-complementary
#178142 #771781 #811721
monochromatic
#051A0D #0E4D27 #178142 #20B55D #37DB7A

Accessibility & contrast

On white

4.94
#178142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#178142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178142
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178142#FFFFFF#000000##FFFFFF
##1781421.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81753D
Deuteranopia (green-blind)
#766D46
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #178142;
/* rgb */ color: rgb(23, 129, 66);
/* oklch */ color: oklch(53.1% 0.133 151.4);
Tailwind
colors: {
  custom: {
    50: '#68a777',
    500: '#178142',
    950: '#000000',
  },
}
SCSS
$custom: #178142;
$custom-light: #68a777;
$custom-dark: #000000;
JSON
{
  "hex": "#178142",
  "rgb": {
    "r": 23,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 144.34,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53132,
    "c": 0.13318,
    "h": 151.4
  },
  "luminance": 0.16276
}

Semantic roles & 50–950 ramp

primary
#178142
secondary
#B53E85
accent
#3BA5ED
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #178142

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

Preview Lab → · Contrast checker → · Palette generator →

#178142 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva