#187C23#187C23

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

Color values

HEX#187C23
RGBrgb(24, 124, 35)
HSLhsl(127, 68%, 29%)
HSVhsv(127, 81%, 49%)
CMYKcmyk(80.6%, 0%, 71.8%, 51.4%)
CIE-LABlab(45.26, -45.97, 39.04)
CIE-LCHlch(45.26, 60.31, 139.66°)
OKLaboklab(51.3% -0.1243 0.0895)
OKLCHoklch(51.3% 0.153 144.2)
XYZxyz(7.8872, 14.7299, 4.0173)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C23 #7C1871
analogous
#3F7C18 #187C23 #187C55
triadic
#187C23 #23187C #7C2318
tetradic
#187C23 #183F7C #7C1871 #7C5518
square
#187C23 #183F7C #7C1871 #7C5518
split-complementary
#187C23 #55187C #7C183F
monochromatic
#051A07 #0E4915 #187C23 #22AF31 #36D848

Accessibility & contrast

On white

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

On black

3.95
#187C23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##187C23#FFFFFF#000000##FFFFFF
##187C231.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7016
Deuteranopia (green-blind)
#73682C
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187c23;
/* rgb */ color: rgb(24, 124, 35);
/* oklch */ color: oklch(51.3% 0.153 144.2);
Tailwind
colors: {
  custom: {
    50: '#68a363',
    500: '#187c23',
    950: '#000000',
  },
}
SCSS
$custom: #187c23;
$custom-light: #68a363;
$custom-dark: #000000;
JSON
{
  "hex": "#187c23",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 35
  },
  "hsl": {
    "h": 126.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51301,
    "c": 0.15315,
    "h": 144.2
  },
  "luminance": 0.14731
}

Semantic roles & 50–950 ramp

primary
#187C23
secondary
#B13FA4
accent
#3DD7EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #187C23

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

Preview Lab → · Contrast checker → · Palette generator →

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