#187948#187948

#187948 is a mid, moderate green. Relative luminance 0.143; OKLCH L 51.0% C 0.116 H 155.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#187948
RGBrgb(24, 121, 72)
HSLhsl(150, 67%, 28%)
HSVhsv(150, 80%, 47%)
CMYKcmyk(80.2%, 0%, 40.5%, 52.5%)
CIE-LABlab(44.71, -39.12, 19.35)
CIE-LCHlch(44.71, 43.64, 153.68°)
OKLaboklab(51% -0.1055 0.0483)
OKLCHoklch(51% 0.116 155.4)
XYZxyz(8.3829, 14.3358, 8.4549)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187948 #791849
analogous
#187918 #187948 #187978
triadic
#187948 #481879 #794818
tetradic
#187948 #181879 #791849 #797818
square
#187948 #181879 #791849 #797818
split-complementary
#187948 #781879 #791818
monochromatic
#051A0F #0E462A #187948 #22AC66 #35D785

Accessibility & contrast

On white

5.43
#187948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#187948 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187948
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187948#FFFFFF#000000##FFFFFF
##1879481.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F45
Deuteranopia (green-blind)
#6D664B
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187948;
/* rgb */ color: rgb(24, 121, 72);
/* oklch */ color: oklch(51.0% 0.116 155.4);
Tailwind
colors: {
  custom: {
    50: '#66a17b',
    500: '#187948',
    950: '#000000',
  },
}
SCSS
$custom: #187948;
$custom-light: #66a17b;
$custom-dark: #000000;
JSON
{
  "hex": "#187948",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 149.691,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51002,
    "c": 0.11602,
    "h": 155.4
  },
  "luminance": 0.14337
}

Semantic roles & 50–950 ramp

primary
#187948
secondary
#AE3F77
accent
#3E95EA
background
#F6FAF7
surface
#EBF3EE
border
#C6CDC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187948

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

Preview Lab → · Contrast checker → · Palette generator →

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