#187E24#187E24

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

Color values

HEX#187E24
RGBrgb(24, 126, 36)
HSLhsl(127, 68%, 29%)
HSVhsv(127, 81%, 49%)
CMYKcmyk(81%, 0%, 71.4%, 50.6%)
CIE-LABlab(45.96, -46.56, 39.36)
CIE-LCHlch(45.96, 60.96, 139.79°)
OKLaboklab(51.89% -0.1258 0.0903)
OKLCHoklch(51.89% 0.155 144.3)
XYZxyz(8.1554, 15.2423, 4.1810)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E24 #7E1872
analogous
#3F7E18 #187E24 #187E57
triadic
#187E24 #24187E #7E2418
tetradic
#187E24 #183F7E #7E1872 #7E5718
square
#187E24 #183F7E #7E1872 #7E5718
split-complementary
#187E24 #57187E #7E183F
monochromatic
#051A07 #0E4B15 #187E24 #22B133 #37D94A

Accessibility & contrast

On white

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

On black

4.05
#187E24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##187E24#FFFFFF#000000##FFFFFF
##187E241.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807217
Deuteranopia (green-blind)
#756A2D
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e24;
/* rgb */ color: rgb(24, 126, 36);
/* oklch */ color: oklch(51.9% 0.155 144.3);
Tailwind
colors: {
  custom: {
    50: '#69a464',
    500: '#187e24',
    950: '#000000',
  },
}
SCSS
$custom: #187e24;
$custom-light: #69a464;
$custom-dark: #000000;
JSON
{
  "hex": "#187e24",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 36
  },
  "hsl": {
    "h": 127.059,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51887,
    "c": 0.15486,
    "h": 144.3
  },
  "luminance": 0.15243
}

Semantic roles & 50–950 ramp

primary
#187E24
secondary
#B23FA5
accent
#3DD6EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187E24

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

Preview Lab → · Contrast checker → · Palette generator →

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