#187542#187542

#187542 is a mid, moderate green. Relative luminance 0.133; OKLCH L 49.7% C 0.116 H 153.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#187542
RGBrgb(24, 117, 66)
HSLhsl(147, 66%, 28%)
HSVhsv(147, 79%, 46%)
CMYKcmyk(79.5%, 0%, 43.6%, 54.1%)
CIE-LABlab(43.23, -38.74, 20.81)
CIE-LCHlch(43.23, 43.98, 151.76°)
OKLaboklab(49.74% -0.1043 0.0516)
OKLCHoklch(49.74% 0.116 153.7)
XYZxyz(7.7206, 13.3092, 7.3152)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187542 #75184B
analogous
#1C7518 #187542 #187570
triadic
#187542 #421875 #754218
tetradic
#187542 #181C75 #75184B #757018
square
#187542 #181C75 #75184B #757018
split-complementary
#187542 #701875 #75181C
monochromatic
#05190E #0E4225 #187542 #22A85F #32D57C

Accessibility & contrast

On white

5.73
#187542 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#187542 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187542
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187542#FFFFFF#000000##FFFFFF
##1875421.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756B3E
Deuteranopia (green-blind)
#6A6345
Tritanopia (blue-blind)
#007368
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #187542;
/* rgb */ color: rgb(24, 117, 66);
/* oklch */ color: oklch(49.7% 0.116 153.7);
Tailwind
colors: {
  custom: {
    50: '#659e77',
    500: '#187542',
    950: '#000000',
  },
}
SCSS
$custom: #187542;
$custom-light: #659e77;
$custom-dark: #000000;
JSON
{
  "hex": "#187542",
  "rgb": {
    "r": 24,
    "g": 117,
    "b": 66
  },
  "hsl": {
    "h": 147.097,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4974,
    "c": 0.11636,
    "h": 153.7
  },
  "luminance": 0.1331
}

Semantic roles & 50–950 ramp

primary
#187542
secondary
#AA3F7A
accent
#3F9CE9
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #187542

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

Preview Lab → · Contrast checker → · Palette generator →

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