#187640#187640

#187640 is a mid, moderate green. Relative luminance 0.135; OKLCH L 50.0% C 0.120 H 152.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#187640
RGBrgb(24, 118, 64)
HSLhsl(146, 66%, 28%)
HSVhsv(146, 80%, 46%)
CMYKcmyk(79.7%, 0%, 45.8%, 53.7%)
CIE-LABlab(43.54, -39.53, 22.34)
CIE-LCHlch(43.54, 45.41, 150.53°)
OKLaboklab(49.99% -0.1063 0.0551)
OKLCHoklch(49.99% 0.12 152.6)
XYZxyz(7.7798, 13.5203, 7.0492)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187640 #76184E
analogous
#1F7618 #187640 #18766F
triadic
#187640 #401876 #764018
tetradic
#187640 #181F76 #76184E #766F18
square
#187640 #181F76 #76184E #766F18
split-complementary
#187640 #6F1876 #76181F
monochromatic
#05190E #0E4324 #187640 #22A95C #33D578

Accessibility & contrast

On white

5.67
#187640 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#187640 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187640
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187640#FFFFFF#000000##FFFFFF
##1876401.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766C3C
Deuteranopia (green-blind)
#6B6444
Tritanopia (blue-blind)
#007469
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #187640;
/* rgb */ color: rgb(24, 118, 64);
/* oklch */ color: oklch(50.0% 0.120 152.6);
Tailwind
colors: {
  custom: {
    50: '#659e75',
    500: '#187640',
    950: '#000000',
  },
}
SCSS
$custom: #187640;
$custom-light: #659e75;
$custom-dark: #000000;
JSON
{
  "hex": "#187640",
  "rgb": {
    "r": 24,
    "g": 118,
    "b": 64
  },
  "hsl": {
    "h": 145.532,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49986,
    "c": 0.11975,
    "h": 152.6
  },
  "luminance": 0.13521
}

Semantic roles & 50–950 ramp

primary
#187640
secondary
#AB3F7D
accent
#3FA1E9
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #187640

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

Preview Lab → · Contrast checker → · Palette generator →

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