#187C42#187C42

#187C42 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.126 H 152.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#187C42
RGBrgb(24, 124, 66)
HSLhsl(145, 68%, 29%)
HSVhsv(145, 81%, 49%)
CMYKcmyk(80.6%, 0%, 46.8%, 51.4%)
CIE-LABlab(45.64, -41.49, 23.93)
CIE-LCHlch(45.64, 47.90, 150.02°)
OKLaboklab(51.73% -0.1115 0.0589)
OKLCHoklch(51.73% 0.126 152.2)
XYZxyz(8.5669, 15.0018, 7.5973)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C42 #7C1852
analogous
#207C18 #187C42 #187C74
triadic
#187C42 #42187C #7C4218
tetradic
#187C42 #18207C #7C1852 #7C7418
square
#187C42 #18207C #7C1852 #7C7418
split-complementary
#187C42 #74187C #7C1820
monochromatic
#051A0E #0E4927 #187C42 #22AF5D #36D87A

Accessibility & contrast

On white

5.25
#187C42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#187C42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C42
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C42#FFFFFF#000000##FFFFFF
##187C421.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C713E
Deuteranopia (green-blind)
#716946
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187c42;
/* rgb */ color: rgb(24, 124, 66);
/* oklch */ color: oklch(51.7% 0.126 152.2);
Tailwind
colors: {
  custom: {
    50: '#67a377',
    500: '#187c42',
    950: '#000000',
  },
}
SCSS
$custom: #187c42;
$custom-light: #67a377;
$custom-dark: #000000;
JSON
{
  "hex": "#187c42",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 66
  },
  "hsl": {
    "h": 145.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51733,
    "c": 0.12611,
    "h": 152.2
  },
  "luminance": 0.15003
}

Semantic roles & 50–950 ramp

primary
#187C42
secondary
#B13F81
accent
#3DA2EA
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187C42

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

Preview Lab → · Contrast checker → · Palette generator →

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