#187C45#187C45

#187C45 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.123 H 153.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#187C45
RGBrgb(24, 124, 69)
HSLhsl(147, 68%, 29%)
HSVhsv(147, 81%, 49%)
CMYKcmyk(80.6%, 0%, 44.4%, 51.4%)
CIE-LABlab(45.69, -40.92, 22.33)
CIE-LCHlch(45.69, 46.61, 151.38°)
OKLaboklab(51.79% -0.1101 0.0552)
OKLCHoklch(51.79% 0.123 153.4)
XYZxyz(8.6577, 15.0381, 8.0754)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C45 #7C184F
analogous
#1D7C18 #187C45 #187C77
triadic
#187C45 #45187C #7C4518
tetradic
#187C45 #181D7C #7C184F #7C7718
square
#187C45 #181D7C #7C184F #7C7718
split-complementary
#187C45 #77187C #7C181D
monochromatic
#051A0E #0E4928 #187C45 #22AF62 #36D87F

Accessibility & contrast

On white

5.24
#187C45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#187C45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C45
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C45#FFFFFF#000000##FFFFFF
##187C451.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7141
Deuteranopia (green-blind)
#706949
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187c45;
/* rgb */ color: rgb(24, 124, 69);
/* oklch */ color: oklch(51.8% 0.123 153.4);
Tailwind
colors: {
  custom: {
    50: '#67a379',
    500: '#187c45',
    950: '#000000',
  },
}
SCSS
$custom: #187c45;
$custom-light: #67a379;
$custom-dark: #000000;
JSON
{
  "hex": "#187c45",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 69
  },
  "hsl": {
    "h": 147,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5179,
    "c": 0.12316,
    "h": 153.4
  },
  "luminance": 0.15039
}

Semantic roles & 50–950 ramp

primary
#187C45
secondary
#B13F7E
accent
#3D9DEA
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187C45

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

Preview Lab → · Contrast checker → · Palette generator →

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