#187840#187840

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

Color values

HEX#187840
RGBrgb(24, 120, 64)
HSLhsl(145, 67%, 28%)
HSVhsv(145, 80%, 47%)
CMYKcmyk(80%, 0%, 46.7%, 52.9%)
CIE-LABlab(44.23, -40.32, 23.23)
CIE-LCHlch(44.23, 46.53, 150.05°)
OKLaboklab(50.56% -0.1084 0.0572)
OKLCHoklch(50.56% 0.123 152.2)
XYZxyz(8.0179, 13.9963, 7.1285)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187840 #781850
analogous
#207818 #187840 #187870
triadic
#187840 #401878 #784018
tetradic
#187840 #182078 #781850 #787018
square
#187840 #182078 #781850 #787018
split-complementary
#187840 #701878 #781820
monochromatic
#051A0E #0E4525 #187840 #22AB5B #34D678

Accessibility & contrast

On white

5.53
#187840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187840
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187840#FFFFFF#000000##FFFFFF
##1878401.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3C
Deuteranopia (green-blind)
#6D6544
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187840;
/* rgb */ color: rgb(24, 120, 64);
/* oklch */ color: oklch(50.6% 0.123 152.2);
Tailwind
colors: {
  custom: {
    50: '#66a075',
    500: '#187840',
    950: '#000000',
  },
}
SCSS
$custom: #187840;
$custom-light: #66a075;
$custom-dark: #000000;
JSON
{
  "hex": "#187840",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 64
  },
  "hsl": {
    "h": 145,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50557,
    "c": 0.12254,
    "h": 152.2
  },
  "luminance": 0.13997
}

Semantic roles & 50–950 ramp

primary
#187840
secondary
#AD3F7F
accent
#3EA2EA
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #187840

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

Preview Lab → · Contrast checker → · Palette generator →

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