#187A22#187A22

#187A22 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.151 H 144.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#187A22
RGBrgb(24, 122, 34)
HSLhsl(126, 67%, 29%)
HSVhsv(126, 80%, 48%)
CMYKcmyk(80.3%, 0%, 72.1%, 52.2%)
CIE-LABlab(44.56, -45.39, 38.72)
CIE-LCHlch(44.56, 59.66, 139.53°)
OKLaboklab(50.71% -0.1227 0.0887)
OKLCHoklch(50.71% 0.151 144.1)
XYZxyz(7.6244, 14.2278, 3.8575)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A22 #7A1870
analogous
#3F7A18 #187A22 #187A53
triadic
#187A22 #22187A #7A2218
tetradic
#187A22 #183F7A #7A1870 #7A5318
square
#187A22 #183F7A #7A1870 #7A5318
split-complementary
#187A22 #53187A #7A183F
monochromatic
#051A07 #0E4714 #187A22 #22AD30 #35D746

Accessibility & contrast

On white

5.46
#187A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#187A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A22
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A22#FFFFFF#000000##FFFFFF
##187A221.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E15
Deuteranopia (green-blind)
#72662B
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187a22;
/* rgb */ color: rgb(24, 122, 34);
/* oklch */ color: oklch(50.7% 0.151 144.1);
Tailwind
colors: {
  custom: {
    50: '#68a162',
    500: '#187a22',
    950: '#000000',
  },
}
SCSS
$custom: #187a22;
$custom-light: #68a162;
$custom-dark: #000000;
JSON
{
  "hex": "#187a22",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 126.122,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50713,
    "c": 0.15143,
    "h": 144.1
  },
  "luminance": 0.14229
}

Semantic roles & 50–950 ramp

primary
#187A22
secondary
#AF3FA3
accent
#3ED8EA
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #187A22

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

Preview Lab → · Contrast checker → · Palette generator →

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