#187342#187342

#187342 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.2% C 0.114 H 154.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#187342
RGBrgb(24, 115, 66)
HSLhsl(148, 65%, 27%)
HSVhsv(148, 79%, 45%)
CMYKcmyk(79.1%, 0%, 42.6%, 54.9%)
CIE-LABlab(42.53, -37.93, 19.90)
CIE-LCHlch(42.53, 42.84, 152.32°)
OKLaboklab(49.17% -0.1022 0.0495)
OKLCHoklch(49.17% 0.114 154.2)
XYZxyz(7.4901, 12.8481, 7.2384)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187342 #731849
analogous
#1C7318 #187342 #187370
triadic
#187342 #421873 #734218
tetradic
#187342 #181C73 #731849 #737018
square
#187342 #181C73 #731849 #737018
split-complementary
#187342 #701873 #73181C
monochromatic
#05190F #0D4025 #187342 #23A65F #31D47C

Accessibility & contrast

On white

5.88
#187342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#187342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187342
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187342#FFFFFF#000000##FFFFFF
##1873421.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73693F
Deuteranopia (green-blind)
#686145
Tritanopia (blue-blind)
#007267
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #187342;
/* rgb */ color: rgb(24, 115, 66);
/* oklch */ color: oklch(49.2% 0.114 154.2);
Tailwind
colors: {
  custom: {
    50: '#659c77',
    500: '#187342',
    950: '#000000',
  },
}
SCSS
$custom: #187342;
$custom-light: #659c77;
$custom-dark: #000000;
JSON
{
  "hex": "#187342",
  "rgb": {
    "r": 24,
    "g": 115,
    "b": 66
  },
  "hsl": {
    "h": 147.692,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49168,
    "c": 0.11354,
    "h": 154.2
  },
  "luminance": 0.12849
}

Semantic roles & 50–950 ramp

primary
#187342
secondary
#A83F77
accent
#3F9AE8
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #187342

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

Preview Lab → · Contrast checker → · Palette generator →

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