#187843#187843

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

Color values

HEX#187843
RGBrgb(24, 120, 67)
HSLhsl(147, 67%, 28%)
HSVhsv(147, 80%, 47%)
CMYKcmyk(80%, 0%, 44.2%, 52.9%)
CIE-LABlab(44.28, -39.74, 21.62)
CIE-LCHlch(44.28, 45.24, 151.46°)
OKLaboklab(50.62% -0.1069 0.0535)
OKLCHoklch(50.62% 0.12 153.4)
XYZxyz(8.1055, 14.0314, 7.5902)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187843 #78184D
analogous
#1D7818 #187843 #187873
triadic
#187843 #431878 #784318
tetradic
#187843 #181D78 #78184D #787318
square
#187843 #181D78 #78184D #787318
split-complementary
#187843 #731878 #78181D
monochromatic
#051A0E #0E4527 #187843 #22AB5F #34D67D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187843#FFFFFF#000000##FFFFFF
##1878431.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187843;
/* rgb */ color: rgb(24, 120, 67);
/* oklch */ color: oklch(50.6% 0.120 153.4);
Tailwind
colors: {
  custom: {
    50: '#66a078',
    500: '#187843',
    950: '#000000',
  },
}
SCSS
$custom: #187843;
$custom-light: #66a078;
$custom-dark: #000000;
JSON
{
  "hex": "#187843",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 67
  },
  "hsl": {
    "h": 146.875,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50615,
    "c": 0.11957,
    "h": 153.4
  },
  "luminance": 0.14032
}

Semantic roles & 50–950 ramp

primary
#187843
secondary
#AD3F7C
accent
#3E9DEA
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #187843

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

Preview Lab → · Contrast checker → · Palette generator →

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