#187A3D#187A3D

#187A3D is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.128 H 150.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#187A3D
RGBrgb(24, 122, 61)
HSLhsl(143, 67%, 29%)
HSVhsv(143, 80%, 48%)
CMYKcmyk(80.3%, 0%, 50%, 52.2%)
CIE-LABlab(44.87, -41.64, 25.71)
CIE-LCHlch(44.87, 48.94, 148.31°)
OKLaboklab(51.07% -0.1119 0.0627)
OKLCHoklch(51.07% 0.128 150.7)
XYZxyz(8.1778, 14.4492, 6.7720)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A3D #7A1855
analogous
#247A18 #187A3D #187A6E
triadic
#187A3D #3D187A #7A3D18
tetradic
#187A3D #18247A #7A1855 #7A6E18
square
#187A3D #18247A #7A1855 #7A6E18
split-complementary
#187A3D #6E187A #7A1824
monochromatic
#051A0D #0E4723 #187A3D #22AD57 #35D772

Accessibility & contrast

On white

5.40
#187A3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#187A3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A3D
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A3D#FFFFFF#000000##FFFFFF
##187A3D1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F38
Deuteranopia (green-blind)
#6F6741
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187a3d;
/* rgb */ color: rgb(24, 122, 61);
/* oklch */ color: oklch(51.1% 0.128 150.7);
Tailwind
colors: {
  custom: {
    50: '#67a173',
    500: '#187a3d',
    950: '#000000',
  },
}
SCSS
$custom: #187a3d;
$custom-light: #67a173;
$custom-dark: #000000;
JSON
{
  "hex": "#187a3d",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 61
  },
  "hsl": {
    "h": 142.653,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51073,
    "c": 0.12824,
    "h": 150.7
  },
  "luminance": 0.1445
}

Semantic roles & 50–950 ramp

primary
#187A3D
secondary
#AF3F85
accent
#3EA9EA
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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