#187C22#187C22

#187C22 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.154 H 144.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#187C22
RGBrgb(24, 124, 34)
HSLhsl(126, 68%, 29%)
HSVhsv(126, 81%, 49%)
CMYKcmyk(80.6%, 0%, 72.6%, 51.4%)
CIE-LABlab(45.25, -46.07, 39.46)
CIE-LCHlch(45.25, 60.66, 139.42°)
OKLaboklab(51.29% -0.1246 0.0903)
OKLCHoklch(51.29% 0.154 144.1)
XYZxyz(7.8725, 14.7240, 3.9402)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C22 #7C1872
analogous
#407C18 #187C22 #187C54
triadic
#187C22 #22187C #7C2218
tetradic
#187C22 #18407C #7C1872 #7C5418
square
#187C22 #18407C #7C1872 #7C5418
split-complementary
#187C22 #54187C #7C1840
monochromatic
#051A07 #0E4914 #187C22 #22AF30 #36D846

Accessibility & contrast

On white

5.32
#187C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#187C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C22
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C22#FFFFFF#000000##FFFFFF
##187C221.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7014
Deuteranopia (green-blind)
#74682B
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187c22;
/* rgb */ color: rgb(24, 124, 34);
/* oklch */ color: oklch(51.3% 0.154 144.1);
Tailwind
colors: {
  custom: {
    50: '#68a362',
    500: '#187c22',
    950: '#000000',
  },
}
SCSS
$custom: #187c22;
$custom-light: #68a362;
$custom-dark: #000000;
JSON
{
  "hex": "#187c22",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 126,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51291,
    "c": 0.15384,
    "h": 144.1
  },
  "luminance": 0.14725
}

Semantic roles & 50–950 ramp

primary
#187C22
secondary
#B13FA5
accent
#3DD9EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #187C22

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

Preview Lab → · Contrast checker → · Palette generator →

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