#187A20#187A20

#187A20 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.153 H 143.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#187A20
RGBrgb(24, 122, 32)
HSLhsl(125, 67%, 29%)
HSVhsv(125, 80%, 48%)
CMYKcmyk(80.3%, 0%, 73.8%, 52.2%)
CIE-LABlab(44.54, -45.58, 39.54)
CIE-LCHlch(44.54, 60.34, 139.06°)
OKLaboklab(50.7% -0.1233 0.0902)
OKLCHoklch(50.7% 0.153 143.8)
XYZxyz(7.5964, 14.2166, 3.7100)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A20 #7A1872
analogous
#417A18 #187A20 #187A51
triadic
#187A20 #20187A #7A2018
tetradic
#187A20 #18417A #7A1872 #7A5118
square
#187A20 #18417A #7A1872 #7A5118
split-complementary
#187A20 #51187A #7A1841
monochromatic
#051A07 #0E4713 #187A20 #22AD2D #35D742

Accessibility & contrast

On white

5.46
#187A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#187A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A20
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A20#FFFFFF#000000##FFFFFF
##187A201.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E11
Deuteranopia (green-blind)
#726629
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187a20;
/* rgb */ color: rgb(24, 122, 32);
/* oklch */ color: oklch(50.7% 0.153 143.8);
Tailwind
colors: {
  custom: {
    50: '#68a161',
    500: '#187a20',
    950: '#000000',
  },
}
SCSS
$custom: #187a20;
$custom-light: #68a161;
$custom-dark: #000000;
JSON
{
  "hex": "#187a20",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 124.898,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50695,
    "c": 0.15279,
    "h": 143.8
  },
  "luminance": 0.14218
}

Semantic roles & 50–950 ramp

primary
#187A20
secondary
#AF3FA6
accent
#3EDCEA
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187A20

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

Preview Lab → · Contrast checker → · Palette generator →

#187A20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva