#187D20#187D20

#187D20 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.156 H 143.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#187D20
RGBrgb(24, 125, 32)
HSLhsl(125, 68%, 29%)
HSVhsv(125, 81%, 49%)
CMYKcmyk(80.8%, 0%, 74.4%, 51%)
CIE-LABlab(45.59, -46.60, 40.63)
CIE-LCHlch(45.59, 61.83, 138.92°)
OKLaboklab(51.56% -0.1261 0.0924)
OKLCHoklch(51.56% 0.156 143.8)
XYZxyz(7.9705, 14.9648, 3.8346)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D20 #7D1875
analogous
#437D18 #187D20 #187D53
triadic
#187D20 #20187D #7D2018
tetradic
#187D20 #18437D #7D1875 #7D5318
square
#187D20 #18437D #7D1875 #7D5318
split-complementary
#187D20 #53187D #7D1843
monochromatic
#051A07 #0E4A13 #187D20 #22B02D #37D944

Accessibility & contrast

On white

5.26
#187D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#187D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D20
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D20#FFFFFF#000000##FFFFFF
##187D201.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#75692A
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187d20;
/* rgb */ color: rgb(24, 125, 32);
/* oklch */ color: oklch(51.6% 0.156 143.8);
Tailwind
colors: {
  custom: {
    50: '#69a461',
    500: '#187d20',
    950: '#000000',
  },
}
SCSS
$custom: #187d20;
$custom-light: #69a461;
$custom-dark: #000000;
JSON
{
  "hex": "#187d20",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 124.752,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51562,
    "c": 0.15637,
    "h": 143.8
  },
  "luminance": 0.14966
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #187D20

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

Preview Lab → · Contrast checker → · Palette generator →

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