#187042#187042

#187042 is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.3% C 0.109 H 155.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#187042
RGBrgb(24, 112, 66)
HSLhsl(149, 65%, 27%)
HSVhsv(149, 79%, 44%)
CMYKcmyk(78.6%, 0%, 41.1%, 56.1%)
CIE-LABlab(41.49, -36.71, 18.53)
CIE-LCHlch(41.49, 41.12, 153.22°)
OKLaboklab(48.31% -0.099 0.0462)
OKLCHoklch(48.31% 0.109 155)
XYZxyz(7.1536, 12.1750, 7.1262)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187042 #701846
analogous
#1A7018 #187042 #18706E
triadic
#187042 #421870 #704218
tetradic
#187042 #181A70 #701846 #706E18
square
#187042 #181A70 #701846 #706E18
split-complementary
#187042 #6E1870 #70181A
monochromatic
#05190F #0D3E24 #187042 #23A260 #30D37D

Accessibility & contrast

On white

6.11
#187042 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#187042 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187042
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187042#FFFFFF#000000##FFFFFF
##1870421.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70663F
Deuteranopia (green-blind)
#655F45
Tritanopia (blue-blind)
#006F64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #187042;
/* rgb */ color: rgb(24, 112, 66);
/* oklch */ color: oklch(48.3% 0.109 155.0);
Tailwind
colors: {
  custom: {
    50: '#649a77',
    500: '#187042',
    950: '#000000',
  },
}
SCSS
$custom: #187042;
$custom-light: #649a77;
$custom-dark: #000000;
JSON
{
  "hex": "#187042",
  "rgb": {
    "r": 24,
    "g": 112,
    "b": 66
  },
  "hsl": {
    "h": 148.636,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4831,
    "c": 0.10926,
    "h": 155
  },
  "luminance": 0.12176
}

Semantic roles & 50–950 ramp

primary
#187042
secondary
#A53E74
accent
#4098E8
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #187042

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

Preview Lab → · Contrast checker → · Palette generator →

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