#187D22#187D22

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

Color values

HEX#187D22
RGBrgb(24, 125, 34)
HSLhsl(126, 68%, 29%)
HSVhsv(126, 81%, 49%)
CMYKcmyk(80.8%, 0%, 72.8%, 51%)
CIE-LABlab(45.60, -46.41, 39.82)
CIE-LCHlch(45.60, 61.16, 139.37°)
OKLaboklab(51.58% -0.1255 0.091)
OKLCHoklch(51.58% 0.155 144.1)
XYZxyz(7.9985, 14.9760, 3.9822)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D22 #7D1873
analogous
#417D18 #187D22 #187D55
triadic
#187D22 #22187D #7D2218
tetradic
#187D22 #18417D #7D1873 #7D5518
square
#187D22 #18417D #7D1873 #7D5518
split-complementary
#187D22 #55187D #7D1841
monochromatic
#051A07 #0E4A14 #187D22 #22B030 #37D947

Accessibility & contrast

On white

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

On black

4.00
#187D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##187D22#FFFFFF#000000##FFFFFF
##187D221.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7114
Deuteranopia (green-blind)
#74692B
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187d22;
/* rgb */ color: rgb(24, 125, 34);
/* oklch */ color: oklch(51.6% 0.155 144.1);
Tailwind
colors: {
  custom: {
    50: '#69a463',
    500: '#187d22',
    950: '#000000',
  },
}
SCSS
$custom: #187d22;
$custom-light: #69a463;
$custom-dark: #000000;
JSON
{
  "hex": "#187d22",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 125.941,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5158,
    "c": 0.15504,
    "h": 144.1
  },
  "luminance": 0.14977
}

Semantic roles & 50–950 ramp

primary
#187D22
secondary
#B23FA6
accent
#3DD9EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #187D22

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

Preview Lab → · Contrast checker → · Palette generator →

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