#187E40#187E40

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

Color values

HEX#187E40
RGBrgb(24, 126, 64)
HSLhsl(144, 68%, 29%)
HSVhsv(144, 81%, 49%)
CMYKcmyk(81%, 0%, 49.2%, 50.6%)
CIE-LABlab(46.29, -42.63, 25.87)
CIE-LCHlch(46.29, 49.86, 148.75°)
OKLaboklab(52.26% -0.1145 0.0632)
OKLCHoklch(52.26% 0.131 151.1)
XYZxyz(8.7622, 15.4850, 7.3766)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E40 #7E1856
analogous
#237E18 #187E40 #187E73
triadic
#187E40 #40187E #7E4018
tetradic
#187E40 #18237E #7E1856 #7E7318
square
#187E40 #18237E #7E1856 #7E7318
split-complementary
#187E40 #73187E #7E1823
monochromatic
#051A0D #0E4B26 #187E40 #22B15A #37D977

Accessibility & contrast

On white

5.13
#187E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187E40
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E40#FFFFFF#000000##FFFFFF
##187E401.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733B
Deuteranopia (green-blind)
#736A44
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187e40;
/* rgb */ color: rgb(24, 126, 64);
/* oklch */ color: oklch(52.3% 0.131 151.1);
Tailwind
colors: {
  custom: {
    50: '#68a476',
    500: '#187e40',
    950: '#000000',
  },
}
SCSS
$custom: #187e40;
$custom-light: #68a476;
$custom-dark: #000000;
JSON
{
  "hex": "#187e40",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 64
  },
  "hsl": {
    "h": 143.529,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52264,
    "c": 0.13079,
    "h": 151.1
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#187E40
secondary
#B23F85
accent
#3DA7EB
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187E40

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

Preview Lab → · Contrast checker → · Palette generator →

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