#187C36#187C36

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

Color values

HEX#187C36
RGBrgb(24, 124, 54)
HSLhsl(138, 68%, 29%)
HSVhsv(138, 81%, 49%)
CMYKcmyk(80.6%, 0%, 56.5%, 51.4%)
CIE-LABlab(45.46, -43.55, 30.18)
CIE-LCHlch(45.46, 52.98, 145.28°)
OKLaboklab(51.53% -0.117 0.0723)
OKLCHoklch(51.53% 0.138 148.3)
XYZxyz(8.2495, 14.8748, 5.9257)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C36 #7C185E
analogous
#2C7C18 #187C36 #187C68
triadic
#187C36 #36187C #7C3618
tetradic
#187C36 #182C7C #7C185E #7C6818
square
#187C36 #182C7C #7C185E #7C6818
split-complementary
#187C36 #68187C #7C182C
monochromatic
#051A0B #0E4920 #187C36 #22AF4C #36D867

Accessibility & contrast

On white

5.28
#187C36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#187C36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C36
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C36#FFFFFF#000000##FFFFFF
##187C361.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7030
Deuteranopia (green-blind)
#72693B
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187c36;
/* rgb */ color: rgb(24, 124, 54);
/* oklch */ color: oklch(51.5% 0.138 148.3);
Tailwind
colors: {
  custom: {
    50: '#67a36f',
    500: '#187c36',
    950: '#000000',
  },
}
SCSS
$custom: #187c36;
$custom-light: #67a36f;
$custom-dark: #000000;
JSON
{
  "hex": "#187c36",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 54
  },
  "hsl": {
    "h": 138,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51532,
    "c": 0.13757,
    "h": 148.3
  },
  "luminance": 0.14876
}

Semantic roles & 50–950 ramp

primary
#187C36
secondary
#B13F8F
accent
#3DB7EA
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187C36

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

Preview Lab → · Contrast checker → · Palette generator →

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