#187422#187422

#187422 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.144 H 144.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#187422
RGBrgb(24, 116, 34)
HSLhsl(127, 66%, 27%)
HSVhsv(127, 79%, 45%)
CMYKcmyk(79.3%, 0%, 70.7%, 54.5%)
CIE-LABlab(42.46, -43.30, 36.49)
CIE-LCHlch(42.46, 56.62, 139.88°)
OKLaboklab(48.97% -0.117 0.084)
OKLCHoklch(48.97% 0.144 144.3)
XYZxyz(6.9103, 12.7997, 3.6195)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187422 #74186A
analogous
#3C7418 #187422 #187450
triadic
#187422 #221874 #742218
tetradic
#187422 #183C74 #74186A #745018
square
#187422 #183C74 #74186A #745018
split-complementary
#187422 #501874 #74183C
monochromatic
#051907 #0E4113 #187422 #22A731 #32D544

Accessibility & contrast

On white

5.90
#187422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#187422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187422
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187422#FFFFFF#000000##FFFFFF
##1874221.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766917
Deuteranopia (green-blind)
#6C612A
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #187422;
/* rgb */ color: rgb(24, 116, 34);
/* oklch */ color: oklch(49.0% 0.144 144.3);
Tailwind
colors: {
  custom: {
    50: '#669d62',
    500: '#187422',
    950: '#000000',
  },
}
SCSS
$custom: #187422;
$custom-light: #669d62;
$custom-dark: #000000;
JSON
{
  "hex": "#187422",
  "rgb": {
    "r": 24,
    "g": 116,
    "b": 34
  },
  "hsl": {
    "h": 126.522,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4897,
    "c": 0.14407,
    "h": 144.3
  },
  "luminance": 0.128
}

Semantic roles & 50–950 ramp

primary
#187422
secondary
#A93F9E
accent
#3FD6E9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #187422

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

Preview Lab → · Contrast checker → · Palette generator →

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