#187B3D#187B3D

#187B3D is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.130 H 150.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#187B3D
RGBrgb(24, 123, 61)
HSLhsl(142, 67%, 29%)
HSVhsv(142, 80%, 48%)
CMYKcmyk(80.5%, 0%, 50.4%, 51.8%)
CIE-LABlab(45.22, -42.02, 26.14)
CIE-LCHlch(45.22, 49.49, 148.11°)
OKLaboklab(51.36% -0.1129 0.0637)
OKLCHoklch(51.36% 0.13 150.6)
XYZxyz(8.3012, 14.6960, 6.8131)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B3D #7B1856
analogous
#257B18 #187B3D #187B6F
triadic
#187B3D #3D187B #7B3D18
tetradic
#187B3D #18257B #7B1856 #7B6F18
square
#187B3D #18257B #7B1856 #7B6F18
split-complementary
#187B3D #6F187B #7B1825
monochromatic
#051A0D #0E4824 #187B3D #22AE56 #36D872

Accessibility & contrast

On white

5.33
#187B3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#187B3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B3D
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B3D#FFFFFF#000000##FFFFFF
##187B3D1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7038
Deuteranopia (green-blind)
#706841
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187b3d;
/* rgb */ color: rgb(24, 123, 61);
/* oklch */ color: oklch(51.4% 0.130 150.6);
Tailwind
colors: {
  custom: {
    50: '#67a273',
    500: '#187b3d',
    950: '#000000',
  },
}
SCSS
$custom: #187b3d;
$custom-light: #67a273;
$custom-dark: #000000;
JSON
{
  "hex": "#187b3d",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 61
  },
  "hsl": {
    "h": 142.424,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51359,
    "c": 0.12961,
    "h": 150.6
  },
  "luminance": 0.14697
}

Semantic roles & 50–950 ramp

primary
#187B3D
secondary
#B03F86
accent
#3EAAEA
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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