#187822#187822

#187822 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.149 H 144.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#187822
RGBrgb(24, 120, 34)
HSLhsl(126, 67%, 28%)
HSVhsv(126, 80%, 47%)
CMYKcmyk(80%, 0%, 71.7%, 52.9%)
CIE-LABlab(43.86, -44.70, 37.98)
CIE-LCHlch(43.86, 58.66, 139.64°)
OKLaboklab(50.13% -0.1208 0.0872)
OKLCHoklch(50.13% 0.149 144.2)
XYZxyz(7.3814, 13.7418, 3.7765)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187822 #78186E
analogous
#3E7818 #187822 #187852
triadic
#187822 #221878 #782218
tetradic
#187822 #183E78 #78186E #785218
square
#187822 #183E78 #78186E #785218
split-complementary
#187822 #521878 #78183E
monochromatic
#051A07 #0E4514 #187822 #22AB30 #34D645

Accessibility & contrast

On white

5.60
#187822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#187822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187822
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187822#FFFFFF#000000##FFFFFF
##1878221.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C15
Deuteranopia (green-blind)
#70652A
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #187822;
/* rgb */ color: rgb(24, 120, 34);
/* oklch */ color: oklch(50.1% 0.149 144.2);
Tailwind
colors: {
  custom: {
    50: '#67a062',
    500: '#187822',
    950: '#000000',
  },
}
SCSS
$custom: #187822;
$custom-light: #67a062;
$custom-dark: #000000;
JSON
{
  "hex": "#187822",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 126.25,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50133,
    "c": 0.14899,
    "h": 144.2
  },
  "luminance": 0.13743
}

Semantic roles & 50–950 ramp

primary
#187822
secondary
#AD3FA1
accent
#3ED8EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F05
muted
#7A7E7A

Preview Lab

Preview with #187822

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

Preview Lab → · Contrast checker → · Palette generator →

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