#187E20#187E20

#187E20 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.158 H 143.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#187E20
RGBrgb(24, 126, 32)
HSLhsl(125, 68%, 29%)
HSVhsv(125, 81%, 49%)
CMYKcmyk(81%, 0%, 74.6%, 50.6%)
CIE-LABlab(45.93, -46.94, 40.98)
CIE-LCHlch(45.93, 62.31, 138.88°)
OKLaboklab(51.85% -0.127 0.0932)
OKLCHoklch(51.85% 0.158 143.7)
XYZxyz(8.0977, 15.2192, 3.8770)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E20 #7E1876
analogous
#437E18 #187E20 #187E53
triadic
#187E20 #20187E #7E2018
tetradic
#187E20 #18437E #7E1876 #7E5318
square
#187E20 #18437E #7E1876 #7E5318
split-complementary
#187E20 #53187E #7E1843
monochromatic
#051A07 #0E4B13 #187E20 #22B12D #37D944

Accessibility & contrast

On white

5.19
#187E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#187E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E20
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E20#FFFFFF#000000##FFFFFF
##187E201.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817110
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e20;
/* rgb */ color: rgb(24, 126, 32);
/* oklch */ color: oklch(51.9% 0.158 143.7);
Tailwind
colors: {
  custom: {
    50: '#69a462',
    500: '#187e20',
    950: '#000000',
  },
}
SCSS
$custom: #187e20;
$custom-light: #69a462;
$custom-dark: #000000;
JSON
{
  "hex": "#187e20",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 124.706,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51851,
    "c": 0.15755,
    "h": 143.7
  },
  "luminance": 0.1522
}

Semantic roles & 50–950 ramp

primary
#187E20
secondary
#B23FA9
accent
#3DDDEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #187E20

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

Preview Lab → · Contrast checker → · Palette generator →

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