#187742#187742

#187742 is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.3% C 0.119 H 153.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#187742
RGBrgb(24, 119, 66)
HSLhsl(147, 66%, 28%)
HSVhsv(147, 80%, 47%)
CMYKcmyk(79.8%, 0%, 44.5%, 53.3%)
CIE-LABlab(43.92, -39.54, 21.71)
CIE-LCHlch(43.92, 45.10, 151.23°)
OKLaboklab(50.31% -0.1064 0.0537)
OKLCHoklch(50.31% 0.119 153.2)
XYZxyz(7.9562, 13.7802, 7.3937)
Luminance0.1378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187742 #77184D
analogous
#1D7718 #187742 #187771
triadic
#187742 #421877 #774218
tetradic
#187742 #181D77 #77184D #777118
square
#187742 #181D77 #77184D #777118
split-complementary
#187742 #711877 #77181D
monochromatic
#05190E #0E4426 #187742 #22AA5E #33D67B

Accessibility & contrast

On white

5.59
#187742 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#187742 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187742
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187742#FFFFFF#000000##FFFFFF
##1877421.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776D3E
Deuteranopia (green-blind)
#6C6546
Tritanopia (blue-blind)
#00756A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #187742;
/* rgb */ color: rgb(24, 119, 66);
/* oklch */ color: oklch(50.3% 0.119 153.2);
Tailwind
colors: {
  custom: {
    50: '#669f77',
    500: '#187742',
    950: '#000000',
  },
}
SCSS
$custom: #187742;
$custom-light: #669f77;
$custom-dark: #000000;
JSON
{
  "hex": "#187742",
  "rgb": {
    "r": 24,
    "g": 119,
    "b": 66
  },
  "hsl": {
    "h": 146.526,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5031,
    "c": 0.11917,
    "h": 153.2
  },
  "luminance": 0.13781
}

Semantic roles & 50–950 ramp

primary
#187742
secondary
#AC3F7C
accent
#3E9EE9
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #187742

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

Preview Lab → · Contrast checker → · Palette generator →

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