#187845#187845

#187845 is a mid, moderate green. Relative luminance 0.141; OKLCH L 50.7% C 0.118 H 154.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#187845
RGBrgb(24, 120, 69)
HSLhsl(148, 67%, 28%)
HSVhsv(148, 80%, 47%)
CMYKcmyk(80%, 0%, 42.5%, 52.9%)
CIE-LABlab(44.31, -39.34, 20.53)
CIE-LCHlch(44.31, 44.37, 152.44°)
OKLaboklab(50.65% -0.1059 0.051)
OKLCHoklch(50.65% 0.118 154.3)
XYZxyz(8.1666, 14.0558, 7.9117)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187845 #78184B
analogous
#1B7818 #187845 #187875
triadic
#187845 #451878 #784518
tetradic
#187845 #181B78 #78184B #787518
square
#187845 #181B78 #78184B #787518
split-complementary
#187845 #751878 #78181B
monochromatic
#051A0F #0E4528 #187845 #22AB62 #34D680

Accessibility & contrast

On white

5.51
#187845 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#187845 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187845
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187845#FFFFFF#000000##FFFFFF
##1878451.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E41
Deuteranopia (green-blind)
#6C6648
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187845;
/* rgb */ color: rgb(24, 120, 69);
/* oklch */ color: oklch(50.7% 0.118 154.3);
Tailwind
colors: {
  custom: {
    50: '#66a079',
    500: '#187845',
    950: '#000000',
  },
}
SCSS
$custom: #187845;
$custom-light: #66a079;
$custom-dark: #000000;
JSON
{
  "hex": "#187845",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 69
  },
  "hsl": {
    "h": 148.125,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50655,
    "c": 0.11759,
    "h": 154.3
  },
  "luminance": 0.14057
}

Semantic roles & 50–950 ramp

primary
#187845
secondary
#AD3F79
accent
#3E99EA
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #187845

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

Preview Lab → · Contrast checker → · Palette generator →

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