#188542#188542

#188542 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.138 H 150.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#188542
RGBrgb(24, 133, 66)
HSLhsl(143, 69%, 31%)
HSVhsv(143, 82%, 52%)
CMYKcmyk(82%, 0%, 50.4%, 47.8%)
CIE-LABlab(48.71, -44.90, 27.84)
CIE-LCHlch(48.71, 52.83, 148.20°)
OKLaboklab(54.28% -0.1205 0.0678)
OKLCHoklch(54.28% 0.138 150.6)
XYZxyz(9.7467, 17.3614, 7.9906)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188542 #85185B
analogous
#248518 #188542 #188578
triadic
#188542 #421885 #854218
tetradic
#188542 #182485 #85185B #857818
square
#188542 #182485 #85185B #857818
split-complementary
#188542 #781885 #851824
monochromatic
#051D0F #0F5128 #188542 #21B95C #3CDC79

Accessibility & contrast

On white

4.70
#188542 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#188542 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #188542
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188542#FFFFFF#000000##FFFFFF
##1885421.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793D
Deuteranopia (green-blind)
#797047
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #188542;
/* rgb */ color: rgb(24, 133, 66);
/* oklch */ color: oklch(54.3% 0.138 150.6);
Tailwind
colors: {
  custom: {
    50: '#69a977',
    500: '#188542',
    950: '#000000',
  },
}
SCSS
$custom: #188542;
$custom-light: #69a977;
$custom-dark: #000000;
JSON
{
  "hex": "#188542",
  "rgb": {
    "r": 24,
    "g": 133,
    "b": 66
  },
  "hsl": {
    "h": 143.119,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54278,
    "c": 0.1383,
    "h": 150.6
  },
  "luminance": 0.17363
}

Semantic roles & 50–950 ramp

primary
#188542
secondary
#B9408A
accent
#3CA8EC
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#071009
muted
#7A7F7B

Preview Lab

Preview with #188542

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

Preview Lab → · Contrast checker → · Palette generator →

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