#187240#187240

#187240 is a mid, moderate green. Relative luminance 0.126; OKLCH L 48.8% C 0.114 H 153.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#187240
RGBrgb(24, 114, 64)
HSLhsl(147, 65%, 27%)
HSVhsv(147, 79%, 45%)
CMYKcmyk(78.9%, 0%, 43.9%, 55.3%)
CIE-LABlab(42.15, -37.94, 20.54)
CIE-LCHlch(42.15, 43.14, 151.57°)
OKLaboklab(48.84% -0.1021 0.0509)
OKLCHoklch(48.84% 0.114 153.5)
XYZxyz(7.3187, 12.5981, 6.8955)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187240 #72184A
analogous
#1D7218 #187240 #18726D
triadic
#187240 #401872 #724018
tetradic
#187240 #181D72 #72184A #726D18
square
#187240 #181D72 #72184A #726D18
split-complementary
#187240 #6D1872 #72181D
monochromatic
#05190E #0D3F24 #187240 #23A55C #31D479

Accessibility & contrast

On white

5.97
#187240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#187240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187240
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187240#FFFFFF#000000##FFFFFF
##1872401.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683C
Deuteranopia (green-blind)
#676043
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #187240;
/* rgb */ color: rgb(24, 114, 64);
/* oklch */ color: oklch(48.8% 0.114 153.5);
Tailwind
colors: {
  custom: {
    50: '#649b75',
    500: '#187240',
    950: '#000000',
  },
}
SCSS
$custom: #187240;
$custom-light: #649b75;
$custom-dark: #000000;
JSON
{
  "hex": "#187240",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 64
  },
  "hsl": {
    "h": 146.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48841,
    "c": 0.11412,
    "h": 153.5
  },
  "luminance": 0.12599
}

Semantic roles & 50–950 ramp

primary
#187240
secondary
#A73E79
accent
#409DE8
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #187240

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

Preview Lab → · Contrast checker → · Palette generator →

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