#187D2A#187D2A

#187D2A is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.149 H 145.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#187D2A
RGBrgb(24, 125, 42)
HSLhsl(131, 68%, 29%)
HSVhsv(131, 81%, 49%)
CMYKcmyk(80.8%, 0%, 66.4%, 51%)
CIE-LABlab(45.67, -45.55, 36.36)
CIE-LCHlch(45.67, 58.28, 141.40°)
OKLaboklab(51.66% -0.1228 0.0847)
OKLCHoklch(51.66% 0.149 145.4)
XYZxyz(8.1276, 15.0276, 4.6623)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D2A #7D186B
analogous
#397D18 #187D2A #187D5D
triadic
#187D2A #2A187D #7D2A18
tetradic
#187D2A #18397D #7D186B #7D5D18
square
#187D2A #18397D #7D186B #7D5D18
split-complementary
#187D2A #5D187D #7D1839
monochromatic
#051A09 #0E4A19 #187D2A #22B03B #37D954

Accessibility & contrast

On white

5.24
#187D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#187D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D2A
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D2A#FFFFFF#000000##FFFFFF
##187D2A1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7120
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187d2a;
/* rgb */ color: rgb(24, 125, 42);
/* oklch */ color: oklch(51.7% 0.149 145.4);
Tailwind
colors: {
  custom: {
    50: '#68a467',
    500: '#187d2a',
    950: '#000000',
  },
}
SCSS
$custom: #187d2a;
$custom-light: #68a467;
$custom-dark: #000000;
JSON
{
  "hex": "#187d2a",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 130.693,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51662,
    "c": 0.14916,
    "h": 145.4
  },
  "luminance": 0.15029
}

Semantic roles & 50–950 ramp

primary
#187D2A
secondary
#B23F9D
accent
#3DCCEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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