#187239#187239

#187239 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.121 H 150.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#187239
RGBrgb(24, 114, 57)
HSLhsl(142, 65%, 27%)
HSVhsv(142, 79%, 45%)
CMYKcmyk(78.9%, 0%, 50%, 55.3%)
CIE-LABlab(42.04, -39.26, 24.33)
CIE-LCHlch(42.04, 46.19, 148.21°)
OKLaboklab(48.71% -0.1055 0.0594)
OKLCHoklch(48.71% 0.121 150.6)
XYZxyz(7.1319, 12.5234, 5.9115)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187239 #721851
analogous
#247218 #187239 #187266
triadic
#187239 #391872 #723918
tetradic
#187239 #182472 #721851 #726618
square
#187239 #182472 #721851 #726618
split-complementary
#187239 #661872 #721824
monochromatic
#05190D #0D3F20 #187239 #23A552 #31D46C

Accessibility & contrast

On white

5.99
#187239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#187239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187239
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187239#FFFFFF#000000##FFFFFF
##1872391.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736834
Deuteranopia (green-blind)
#68603D
Tritanopia (blue-blind)
#007065
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #187239;
/* rgb */ color: rgb(24, 114, 57);
/* oklch */ color: oklch(48.7% 0.121 150.6);
Tailwind
colors: {
  custom: {
    50: '#659b70',
    500: '#187239',
    950: '#000000',
  },
}
SCSS
$custom: #187239;
$custom-light: #659b70;
$custom-dark: #000000;
JSON
{
  "hex": "#187239",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 57
  },
  "hsl": {
    "h": 142,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48708,
    "c": 0.12111,
    "h": 150.6
  },
  "luminance": 0.12524
}

Semantic roles & 50–950 ramp

primary
#187239
secondary
#A73E81
accent
#40AAE8
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #187239

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

Preview Lab → · Contrast checker → · Palette generator →

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