#187142#187142

#187142 is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.6% C 0.111 H 154.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#187142
RGBrgb(24, 113, 66)
HSLhsl(148, 65%, 27%)
HSVhsv(148, 79%, 44%)
CMYKcmyk(78.8%, 0%, 41.6%, 55.7%)
CIE-LABlab(41.84, -37.12, 18.99)
CIE-LCHlch(41.84, 41.69, 152.91°)
OKLaboklab(48.6% -0.1001 0.0473)
OKLCHoklch(48.6% 0.111 154.7)
XYZxyz(7.2645, 12.3969, 7.1632)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187142 #711847
analogous
#1A7118 #187142 #18716F
triadic
#187142 #421871 #714218
tetradic
#187142 #181A71 #711847 #716F18
square
#187142 #181A71 #711847 #716F18
split-complementary
#187142 #6F1871 #71181A
monochromatic
#05190F #0D3F25 #187142 #23A35F #30D37D

Accessibility & contrast

On white

6.04
#187142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#187142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187142
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187142#FFFFFF#000000##FFFFFF
##1871421.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71673F
Deuteranopia (green-blind)
#666045
Tritanopia (blue-blind)
#007065
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #187142;
/* rgb */ color: rgb(24, 113, 66);
/* oklch */ color: oklch(48.6% 0.111 154.7);
Tailwind
colors: {
  custom: {
    50: '#649b77',
    500: '#187142',
    950: '#000000',
  },
}
SCSS
$custom: #187142;
$custom-light: #649b77;
$custom-dark: #000000;
JSON
{
  "hex": "#187142",
  "rgb": {
    "r": 24,
    "g": 113,
    "b": 66
  },
  "hsl": {
    "h": 148.315,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48596,
    "c": 0.11069,
    "h": 154.7
  },
  "luminance": 0.12398
}

Semantic roles & 50–950 ramp

primary
#187142
secondary
#A63E75
accent
#4099E8
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #187142

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

Preview Lab → · Contrast checker → · Palette generator →

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