#187E22#187E22

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

Color values

HEX#187E22
RGBrgb(24, 126, 34)
HSLhsl(126, 68%, 29%)
HSVhsv(126, 81%, 49%)
CMYKcmyk(81%, 0%, 73%, 50.6%)
CIE-LABlab(45.95, -46.75, 40.19)
CIE-LCHlch(45.95, 61.65, 139.32°)
OKLaboklab(51.87% -0.1264 0.0918)
OKLCHoklch(51.87% 0.156 144)
XYZxyz(8.1257, 15.2304, 4.0246)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E22 #7E1874
analogous
#417E18 #187E22 #187E55
triadic
#187E22 #22187E #7E2218
tetradic
#187E22 #18417E #7E1874 #7E5518
square
#187E22 #18417E #7E1874 #7E5518
split-complementary
#187E22 #55187E #7E1841
monochromatic
#051A07 #0E4B14 #187E22 #22B130 #37D947

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187E22#FFFFFF#000000##FFFFFF
##187E221.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)
#817114
Deuteranopia (green-blind)
#756A2B
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e22;
/* rgb */ color: rgb(24, 126, 34);
/* oklch */ color: oklch(51.9% 0.156 144.0);
Tailwind
colors: {
  custom: {
    50: '#69a463',
    500: '#187e22',
    950: '#000000',
  },
}
SCSS
$custom: #187e22;
$custom-light: #69a463;
$custom-dark: #000000;
JSON
{
  "hex": "#187e22",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 125.882,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51868,
    "c": 0.15623,
    "h": 144
  },
  "luminance": 0.15231
}

Semantic roles & 50–950 ramp

primary
#187E22
secondary
#B23FA7
accent
#3DDAEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #187E22

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

Preview Lab → · Contrast checker → · Palette generator →

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