#187540#187540

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

Color values

HEX#187540
RGBrgb(24, 117, 64)
HSLhsl(146, 66%, 28%)
HSVhsv(146, 79%, 46%)
CMYKcmyk(79.5%, 0%, 45.3%, 54.1%)
CIE-LABlab(43.19, -39.14, 21.89)
CIE-LCHlch(43.19, 44.84, 150.77°)
OKLaboklab(49.7% -0.1053 0.0541)
OKLCHoklch(49.7% 0.118 152.8)
XYZxyz(7.6627, 13.2860, 7.0101)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187540 #75184D
analogous
#1F7518 #187540 #18756E
triadic
#187540 #401875 #754018
tetradic
#187540 #181F75 #75184D #756E18
square
#187540 #181F75 #75184D #756E18
split-complementary
#187540 #6E1875 #75181F
monochromatic
#05190E #0E4224 #187540 #22A85C #32D578

Accessibility & contrast

On white

5.74
#187540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187540
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187540#FFFFFF#000000##FFFFFF
##1875401.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187540;
/* rgb */ color: rgb(24, 117, 64);
/* oklch */ color: oklch(49.7% 0.118 152.8);
Tailwind
colors: {
  custom: {
    50: '#659e75',
    500: '#187540',
    950: '#000000',
  },
}
SCSS
$custom: #187540;
$custom-light: #659e75;
$custom-dark: #000000;
JSON
{
  "hex": "#187540",
  "rgb": {
    "r": 24,
    "g": 117,
    "b": 64
  },
  "hsl": {
    "h": 145.806,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.497,
    "c": 0.11835,
    "h": 152.8
  },
  "luminance": 0.13287
}

Semantic roles & 50–950 ramp

primary
#187540
secondary
#AA3F7C
accent
#3FA0E9
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #187540

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

Preview Lab → · Contrast checker → · Palette generator →

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