#187420#187420

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

Color values

HEX#187420
RGBrgb(24, 116, 32)
HSLhsl(125, 66%, 27%)
HSVhsv(125, 79%, 45%)
CMYKcmyk(79.3%, 0%, 72.4%, 54.5%)
CIE-LABlab(42.44, -43.51, 37.34)
CIE-LCHlch(42.44, 57.34, 139.36°)
OKLaboklab(48.95% -0.1177 0.0856)
OKLCHoklch(48.95% 0.146 144)
XYZxyz(6.8823, 12.7885, 3.4719)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187420 #74186C
analogous
#3E7418 #187420 #18744E
triadic
#187420 #201874 #742018
tetradic
#187420 #183E74 #74186C #744E18
square
#187420 #183E74 #74186C #744E18
split-complementary
#187420 #4E1874 #74183E
monochromatic
#051907 #0E4112 #187420 #22A72E #32D540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187420#FFFFFF#000000##FFFFFF
##1874201.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)
#766814
Deuteranopia (green-blind)
#6C6128
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #187420;
/* rgb */ color: rgb(24, 116, 32);
/* oklch */ color: oklch(49.0% 0.146 144.0);
Tailwind
colors: {
  custom: {
    50: '#669d60',
    500: '#187420',
    950: '#000000',
  },
}
SCSS
$custom: #187420;
$custom-light: #669d60;
$custom-dark: #000000;
JSON
{
  "hex": "#187420",
  "rgb": {
    "r": 24,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 125.217,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48951,
    "c": 0.14551,
    "h": 144
  },
  "luminance": 0.12789
}

Semantic roles & 50–950 ramp

primary
#187420
secondary
#A93FA0
accent
#3FDAE9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #187420

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

Preview Lab → · Contrast checker → · Palette generator →

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