#187841#187841

#187841 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.122 H 152.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#187841
RGBrgb(24, 120, 65)
HSLhsl(146, 67%, 28%)
HSVhsv(146, 80%, 47%)
CMYKcmyk(80%, 0%, 45.8%, 52.9%)
CIE-LABlab(44.24, -40.13, 22.70)
CIE-LCHlch(44.24, 46.10, 150.51°)
OKLaboklab(50.58% -0.1079 0.056)
OKLCHoklch(50.58% 0.122 152.6)
XYZxyz(8.0466, 14.0078, 7.2797)
Luminance0.1401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187841 #78184F
analogous
#1F7818 #187841 #187871
triadic
#187841 #411878 #784118
tetradic
#187841 #181F78 #78184F #787118
square
#187841 #181F78 #78184F #787118
split-complementary
#187841 #711878 #78181F
monochromatic
#051A0E #0E4525 #187841 #22AB5D #34D679

Accessibility & contrast

On white

5.52
#187841 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#187841 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187841
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187841#FFFFFF#000000##FFFFFF
##1878411.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3D
Deuteranopia (green-blind)
#6D6545
Tritanopia (blue-blind)
#00766B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187841;
/* rgb */ color: rgb(24, 120, 65);
/* oklch */ color: oklch(50.6% 0.122 152.6);
Tailwind
colors: {
  custom: {
    50: '#66a076',
    500: '#187841',
    950: '#000000',
  },
}
SCSS
$custom: #187841;
$custom-light: #66a076;
$custom-dark: #000000;
JSON
{
  "hex": "#187841",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 65
  },
  "hsl": {
    "h": 145.625,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50576,
    "c": 0.12156,
    "h": 152.6
  },
  "luminance": 0.14009
}

Semantic roles & 50–950 ramp

primary
#187841
secondary
#AD3F7E
accent
#3EA0EA
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #187841

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

Preview Lab → · Contrast checker → · Palette generator →

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