#187D45#187D45

#187D45 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.125 H 153.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#187D45
RGBrgb(24, 125, 69)
HSLhsl(147, 68%, 29%)
HSVhsv(147, 81%, 49%)
CMYKcmyk(80.8%, 0%, 44.8%, 51%)
CIE-LABlab(46.03, -41.31, 22.77)
CIE-LCHlch(46.03, 47.17, 151.13°)
OKLaboklab(52.07% -0.1111 0.0563)
OKLCHoklch(52.07% 0.125 153.1)
XYZxyz(8.7837, 15.2900, 8.1174)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D45 #7D1850
analogous
#1D7D18 #187D45 #187D78
triadic
#187D45 #45187D #7D4518
tetradic
#187D45 #181D7D #7D1850 #7D7818
square
#187D45 #181D7D #7D1850 #7D7818
split-complementary
#187D45 #78187D #7D181D
monochromatic
#051A0E #0E4A29 #187D45 #22B061 #37D97F

Accessibility & contrast

On white

5.17
#187D45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#187D45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D45
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D45#FFFFFF#000000##FFFFFF
##187D451.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7241
Deuteranopia (green-blind)
#716A49
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187d45;
/* rgb */ color: rgb(24, 125, 69);
/* oklch */ color: oklch(52.1% 0.125 153.1);
Tailwind
colors: {
  custom: {
    50: '#67a479',
    500: '#187d45',
    950: '#000000',
  },
}
SCSS
$custom: #187d45;
$custom-light: #67a479;
$custom-dark: #000000;
JSON
{
  "hex": "#187d45",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 69
  },
  "hsl": {
    "h": 146.733,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52073,
    "c": 0.12454,
    "h": 153.1
  },
  "luminance": 0.15291
}

Semantic roles & 50–950 ramp

primary
#187D45
secondary
#B23F7F
accent
#3D9DEB
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187D45

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

Preview Lab → · Contrast checker → · Palette generator →

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