#187E42#187E42

#187E42 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.129 H 151.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#187E42
RGBrgb(24, 126, 66)
HSLhsl(145, 68%, 29%)
HSVhsv(145, 81%, 49%)
CMYKcmyk(81%, 0%, 47.6%, 50.6%)
CIE-LABlab(46.32, -42.26, 24.81)
CIE-LCHlch(46.32, 49.01, 149.58°)
OKLaboklab(52.3% -0.1136 0.0609)
OKLCHoklch(52.3% 0.129 151.8)
XYZxyz(8.8201, 15.5082, 7.6817)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E42 #7E1854
analogous
#217E18 #187E42 #187E75
triadic
#187E42 #42187E #7E4218
tetradic
#187E42 #18217E #7E1854 #7E7518
square
#187E42 #18217E #7E1854 #7E7518
split-complementary
#187E42 #75187E #7E1821
monochromatic
#051A0D #0E4B27 #187E42 #22B15D #37D97A

Accessibility & contrast

On white

5.12
#187E42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#187E42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E42
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E42#FFFFFF#000000##FFFFFF
##187E421.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E733D
Deuteranopia (green-blind)
#736A46
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187e42;
/* rgb */ color: rgb(24, 126, 66);
/* oklch */ color: oklch(52.3% 0.129 151.8);
Tailwind
colors: {
  custom: {
    50: '#68a477',
    500: '#187e42',
    950: '#000000',
  },
}
SCSS
$custom: #187e42;
$custom-light: #68a477;
$custom-dark: #000000;
JSON
{
  "hex": "#187e42",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 66
  },
  "hsl": {
    "h": 144.706,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.523,
    "c": 0.12885,
    "h": 151.8
  },
  "luminance": 0.15509
}

Semantic roles & 50–950 ramp

primary
#187E42
secondary
#B23F83
accent
#3DA3EB
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187E42

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

Preview Lab → · Contrast checker → · Palette generator →

#187E42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva