#187E45#187E45

#187E45 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.126 H 152.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#187E45
RGBrgb(24, 126, 69)
HSLhsl(146, 68%, 29%)
HSVhsv(146, 81%, 49%)
CMYKcmyk(81%, 0%, 45.2%, 50.6%)
CIE-LABlab(46.37, -41.70, 23.22)
CIE-LCHlch(46.37, 47.73, 150.89°)
OKLaboklab(52.36% -0.1121 0.0573)
OKLCHoklch(52.36% 0.126 152.9)
XYZxyz(8.9109, 15.5445, 8.1598)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E45 #7E1851
analogous
#1E7E18 #187E45 #187E78
triadic
#187E45 #45187E #7E4518
tetradic
#187E45 #181E7E #7E1851 #7E7818
square
#187E45 #181E7E #7E1851 #7E7818
split-complementary
#187E45 #78187E #7E181E
monochromatic
#051A0E #0E4B29 #187E45 #22B161 #37D97F

Accessibility & contrast

On white

5.11
#187E45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#187E45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E45
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E45#FFFFFF#000000##FFFFFF
##187E451.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7341
Deuteranopia (green-blind)
#726B49
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187e45;
/* rgb */ color: rgb(24, 126, 69);
/* oklch */ color: oklch(52.4% 0.126 152.9);
Tailwind
colors: {
  custom: {
    50: '#67a479',
    500: '#187e45',
    950: '#000000',
  },
}
SCSS
$custom: #187e45;
$custom-light: #67a479;
$custom-dark: #000000;
JSON
{
  "hex": "#187e45",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 69
  },
  "hsl": {
    "h": 146.471,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52356,
    "c": 0.12591,
    "h": 152.9
  },
  "luminance": 0.15546
}

Semantic roles & 50–950 ramp

primary
#187E45
secondary
#B23F80
accent
#3D9EEB
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187E45

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

Preview Lab → · Contrast checker → · Palette generator →

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