#187C34#187C34

#187C34 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.139 H 147.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#187C34
RGBrgb(24, 124, 52)
HSLhsl(137, 68%, 29%)
HSVhsv(137, 81%, 49%)
CMYKcmyk(80.6%, 0%, 58.1%, 51.4%)
CIE-LABlab(45.44, -43.85, 31.18)
CIE-LCHlch(45.44, 53.81, 144.58°)
OKLaboklab(51.5% -0.1179 0.0744)
OKLCHoklch(51.5% 0.139 147.7)
XYZxyz(8.2035, 14.8564, 5.6834)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C34 #7C1860
analogous
#2E7C18 #187C34 #187C66
triadic
#187C34 #34187C #7C3418
tetradic
#187C34 #182E7C #7C1860 #7C6618
square
#187C34 #182E7C #7C1860 #7C6618
split-complementary
#187C34 #66187C #7C182E
monochromatic
#051A0B #0E491E #187C34 #22AF4A #36D864

Accessibility & contrast

On white

5.29
#187C34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#187C34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C34
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C34#FFFFFF#000000##FFFFFF
##187C341.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D702D
Deuteranopia (green-blind)
#72683A
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187c34;
/* rgb */ color: rgb(24, 124, 52);
/* oklch */ color: oklch(51.5% 0.139 147.7);
Tailwind
colors: {
  custom: {
    50: '#67a36d',
    500: '#187c34',
    950: '#000000',
  },
}
SCSS
$custom: #187c34;
$custom-light: #67a36d;
$custom-dark: #000000;
JSON
{
  "hex": "#187c34",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 52
  },
  "hsl": {
    "h": 136.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51502,
    "c": 0.1394,
    "h": 147.7
  },
  "luminance": 0.14857
}

Semantic roles & 50–950 ramp

primary
#187C34
secondary
#B13F91
accent
#3DBAEA
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187C34

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

Preview Lab → · Contrast checker → · Palette generator →

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