#187942#187942

#187942 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.122 H 152.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#187942
RGBrgb(24, 121, 66)
HSLhsl(146, 67%, 28%)
HSVhsv(146, 80%, 47%)
CMYKcmyk(80.2%, 0%, 45.5%, 52.5%)
CIE-LABlab(44.61, -40.33, 22.60)
CIE-LCHlch(44.61, 46.23, 150.73°)
OKLaboklab(50.88% -0.1084 0.0558)
OKLCHoklch(50.88% 0.122 152.8)
XYZxyz(8.1967, 14.2613, 7.4739)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187942 #79184F
analogous
#1E7918 #187942 #187972
triadic
#187942 #421879 #794218
tetradic
#187942 #181E79 #79184F #797218
square
#187942 #181E79 #79184F #797218
split-complementary
#187942 #721879 #79181E
monochromatic
#051A0E #0E4626 #187942 #22AC5E #35D77B

Accessibility & contrast

On white

5.45
#187942 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#187942 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187942
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187942#FFFFFF#000000##FFFFFF
##1879421.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3E
Deuteranopia (green-blind)
#6E6646
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187942;
/* rgb */ color: rgb(24, 121, 66);
/* oklch */ color: oklch(50.9% 0.122 152.8);
Tailwind
colors: {
  custom: {
    50: '#66a177',
    500: '#187942',
    950: '#000000',
  },
}
SCSS
$custom: #187942;
$custom-light: #66a177;
$custom-dark: #000000;
JSON
{
  "hex": "#187942",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 66
  },
  "hsl": {
    "h": 145.979,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5088,
    "c": 0.12195,
    "h": 152.8
  },
  "luminance": 0.14262
}

Semantic roles & 50–950 ramp

primary
#187942
secondary
#AE3F7E
accent
#3E9FEA
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187942

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

Preview Lab → · Contrast checker → · Palette generator →

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