#187D30#187D30

#187D30 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.144 H 146.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#187D30
RGBrgb(24, 125, 48)
HSLhsl(134, 68%, 29%)
HSVhsv(134, 81%, 49%)
CMYKcmyk(80.8%, 0%, 61.6%, 51%)
CIE-LABlab(45.74, -44.78, 33.55)
CIE-LCHlch(45.74, 55.95, 143.16°)
OKLaboklab(51.73% -0.1205 0.0792)
OKLCHoklch(51.73% 0.144 146.7)
XYZxyz(8.2432, 15.0738, 5.2708)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D30 #7D1865
analogous
#337D18 #187D30 #187D63
triadic
#187D30 #30187D #7D3018
tetradic
#187D30 #18337D #7D1865 #7D6318
square
#187D30 #18337D #7D1865 #7D6318
split-complementary
#187D30 #63187D #7D1833
monochromatic
#051A0A #0E4A1C #187D30 #22B044 #37D95D

Accessibility & contrast

On white

5.23
#187D30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187D30
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D30#FFFFFF#000000##FFFFFF
##187D301.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187d30;
/* rgb */ color: rgb(24, 125, 48);
/* oklch */ color: oklch(51.7% 0.144 146.7);
Tailwind
colors: {
  custom: {
    50: '#68a46b',
    500: '#187d30',
    950: '#000000',
  },
}
SCSS
$custom: #187d30;
$custom-light: #68a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#187d30",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 48
  },
  "hsl": {
    "h": 134.257,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51734,
    "c": 0.14421,
    "h": 146.7
  },
  "luminance": 0.15075
}

Semantic roles & 50–950 ramp

primary
#187D30
secondary
#B23F96
accent
#3DC1EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187D30

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

Preview Lab → · Contrast checker → · Palette generator →

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