#187242#187242

#187242 is a mid, moderate green. Relative luminance 0.126; OKLCH L 48.9% C 0.112 H 154.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#187242
RGBrgb(24, 114, 66)
HSLhsl(148, 65%, 27%)
HSVhsv(148, 79%, 45%)
CMYKcmyk(78.9%, 0%, 42.1%, 55.3%)
CIE-LABlab(42.19, -37.53, 19.44)
CIE-LCHlch(42.19, 42.27, 152.61°)
OKLaboklab(48.88% -0.1011 0.0484)
OKLCHoklch(48.88% 0.112 154.4)
XYZxyz(7.3767, 12.6213, 7.2006)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187242 #721848
analogous
#1B7218 #187242 #18726F
triadic
#187242 #421872 #724218
tetradic
#187242 #181B72 #721848 #726F18
square
#187242 #181B72 #721848 #726F18
split-complementary
#187242 #6F1872 #72181B
monochromatic
#05190F #0D3F25 #187242 #23A55F #31D47D

Accessibility & contrast

On white

5.96
#187242 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#187242 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187242
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187242#FFFFFF#000000##FFFFFF
##1872421.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683F
Deuteranopia (green-blind)
#676145
Tritanopia (blue-blind)
#007166
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #187242;
/* rgb */ color: rgb(24, 114, 66);
/* oklch */ color: oklch(48.9% 0.112 154.4);
Tailwind
colors: {
  custom: {
    50: '#649b77',
    500: '#187242',
    950: '#000000',
  },
}
SCSS
$custom: #187242;
$custom-light: #649b77;
$custom-dark: #000000;
JSON
{
  "hex": "#187242",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 66
  },
  "hsl": {
    "h": 148,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48882,
    "c": 0.11212,
    "h": 154.4
  },
  "luminance": 0.12622
}

Semantic roles & 50–950 ramp

primary
#187242
secondary
#A73E76
accent
#409AE8
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #187242

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

Preview Lab → · Contrast checker → · Palette generator →

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