#187D34#187D34

#187D34 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.141 H 147.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#187D34
RGBrgb(24, 125, 52)
HSLhsl(137, 68%, 29%)
HSVhsv(137, 81%, 49%)
CMYKcmyk(80.8%, 0%, 58.4%, 51%)
CIE-LABlab(45.78, -44.21, 31.59)
CIE-LCHlch(45.78, 54.34, 144.45°)
OKLaboklab(51.79% -0.1189 0.0753)
OKLCHoklch(51.79% 0.141 147.6)
XYZxyz(8.3295, 15.1084, 5.7254)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D34 #7D1861
analogous
#2F7D18 #187D34 #187D67
triadic
#187D34 #34187D #7D3418
tetradic
#187D34 #182F7D #7D1861 #7D6718
square
#187D34 #182F7D #7D1861 #7D6718
split-complementary
#187D34 #67187D #7D182F
monochromatic
#051A0B #0E4A1F #187D34 #22B049 #37D964

Accessibility & contrast

On white

5.22
#187D34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#187D34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D34
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D34#FFFFFF#000000##FFFFFF
##187D341.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E712D
Deuteranopia (green-blind)
#73693A
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187d34;
/* rgb */ color: rgb(24, 125, 52);
/* oklch */ color: oklch(51.8% 0.141 147.6);
Tailwind
colors: {
  custom: {
    50: '#68a46e',
    500: '#187d34',
    950: '#000000',
  },
}
SCSS
$custom: #187d34;
$custom-light: #68a46e;
$custom-dark: #000000;
JSON
{
  "hex": "#187d34",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 52
  },
  "hsl": {
    "h": 136.634,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51789,
    "c": 0.1407,
    "h": 147.6
  },
  "luminance": 0.15109
}

Semantic roles & 50–950 ramp

primary
#187D34
secondary
#B23F92
accent
#3DBBEB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187D34

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

Preview Lab → · Contrast checker → · Palette generator →

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