#187A2D#187A2D

#187A2D is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.143 H 146.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#187A2D
RGBrgb(24, 122, 45)
HSLhsl(133, 67%, 29%)
HSVhsv(133, 80%, 48%)
CMYKcmyk(80.3%, 0%, 63.1%, 52.2%)
CIE-LABlab(44.66, -44.11, 33.79)
CIE-LCHlch(44.66, 55.56, 142.55°)
OKLaboklab(50.83% -0.1188 0.0795)
OKLCHoklch(50.83% 0.143 146.2)
XYZxyz(7.8093, 14.3018, 4.8311)
Luminance0.1430 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A2D #7A1865
analogous
#347A18 #187A2D #187A5E
triadic
#187A2D #2D187A #7A2D18
tetradic
#187A2D #18347A #7A1865 #7A5E18
square
#187A2D #18347A #7A1865 #7A5E18
split-complementary
#187A2D #5E187A #7A1834
monochromatic
#051A09 #0E471A #187A2D #22AD40 #35D758

Accessibility & contrast

On white

5.44
#187A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#187A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A2D
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A2D#FFFFFF#000000##FFFFFF
##187A2D1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E25
Deuteranopia (green-blind)
#716733
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187a2d;
/* rgb */ color: rgb(24, 122, 45);
/* oklch */ color: oklch(50.8% 0.143 146.2);
Tailwind
colors: {
  custom: {
    50: '#67a169',
    500: '#187a2d',
    950: '#000000',
  },
}
SCSS
$custom: #187a2d;
$custom-light: #67a169;
$custom-dark: #000000;
JSON
{
  "hex": "#187a2d",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 132.857,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50834,
    "c": 0.14291,
    "h": 146.2
  },
  "luminance": 0.14303
}

Semantic roles & 50–950 ramp

primary
#187A2D
secondary
#AF3F97
accent
#3EC5EA
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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