#187B2D#187B2D

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

Color values

HEX#187B2D
RGBrgb(24, 123, 45)
HSLhsl(133, 67%, 29%)
HSVhsv(133, 80%, 48%)
CMYKcmyk(80.5%, 0%, 63.4%, 51.8%)
CIE-LABlab(45.01, -44.47, 34.18)
CIE-LCHlch(45.01, 56.09, 142.45°)
OKLaboklab(51.12% -0.1197 0.0803)
OKLCHoklch(51.12% 0.144 146.1)
XYZxyz(7.9327, 14.5486, 4.8722)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B2D #7B1866
analogous
#357B18 #187B2D #187B5F
triadic
#187B2D #2D187B #7B2D18
tetradic
#187B2D #18357B #7B1866 #7B5F18
square
#187B2D #18357B #7B1866 #7B5F18
split-complementary
#187B2D #5F187B #7B1835
monochromatic
#051A09 #0E481A #187B2D #22AE40 #36D858

Accessibility & contrast

On white

5.37
#187B2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#187B2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B2D
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B2D#FFFFFF#000000##FFFFFF
##187B2D1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F24
Deuteranopia (green-blind)
#726734
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187b2d;
/* rgb */ color: rgb(24, 123, 45);
/* oklch */ color: oklch(51.1% 0.144 146.1);
Tailwind
colors: {
  custom: {
    50: '#67a269',
    500: '#187b2d',
    950: '#000000',
  },
}
SCSS
$custom: #187b2d;
$custom-light: #67a269;
$custom-dark: #000000;
JSON
{
  "hex": "#187b2d",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 132.727,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51122,
    "c": 0.14419,
    "h": 146.1
  },
  "luminance": 0.1455
}

Semantic roles & 50–950 ramp

primary
#187B2D
secondary
#B03F98
accent
#3EC6EA
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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