#187A2A#187A2A

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

Color values

HEX#187A2A
RGBrgb(24, 122, 42)
HSLhsl(131, 67%, 29%)
HSVhsv(131, 80%, 48%)
CMYKcmyk(80.3%, 0%, 65.6%, 52.2%)
CIE-LABlab(44.63, -44.49, 35.20)
CIE-LCHlch(44.63, 56.73, 141.65°)
OKLaboklab(50.8% -0.1199 0.0822)
OKLCHoklch(50.8% 0.145 145.6)
XYZxyz(7.7536, 14.2795, 4.5376)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A2A #7A1868
analogous
#377A18 #187A2A #187A5B
triadic
#187A2A #2A187A #7A2A18
tetradic
#187A2A #18377A #7A1868 #7A5B18
square
#187A2A #18377A #7A1868 #7A5B18
split-complementary
#187A2A #5B187A #7A1837
monochromatic
#051A09 #0E4718 #187A2A #22AD3C #35D753

Accessibility & contrast

On white

5.45
#187A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187A2A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A2A#FFFFFF#000000##FFFFFF
##187A2A1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187a2a;
/* rgb */ color: rgb(24, 122, 42);
/* oklch */ color: oklch(50.8% 0.145 145.6);
Tailwind
colors: {
  custom: {
    50: '#67a167',
    500: '#187a2a',
    950: '#000000',
  },
}
SCSS
$custom: #187a2a;
$custom-light: #67a167;
$custom-dark: #000000;
JSON
{
  "hex": "#187a2a",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 131.02,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50797,
    "c": 0.14539,
    "h": 145.6
  },
  "luminance": 0.1428
}

Semantic roles & 50–950 ramp

primary
#187A2A
secondary
#AF3F9A
accent
#3ECAEA
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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