#187A34#187A34

#187A34 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.137 H 147.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#187A34
RGBrgb(24, 122, 52)
HSLhsl(137, 67%, 29%)
HSVhsv(137, 80%, 48%)
CMYKcmyk(80.3%, 0%, 57.4%, 52.2%)
CIE-LABlab(44.75, -43.12, 30.35)
CIE-LCHlch(44.75, 52.73, 144.86°)
OKLaboklab(50.93% -0.1159 0.0726)
OKLCHoklch(50.93% 0.137 147.9)
XYZxyz(7.9554, 14.3602, 5.6007)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A34 #7A185E
analogous
#2D7A18 #187A34 #187A65
triadic
#187A34 #34187A #7A3418
tetradic
#187A34 #182D7A #7A185E #7A6518
square
#187A34 #182D7A #7A185E #7A6518
split-complementary
#187A34 #65187A #7A182D
monochromatic
#051A0B #0E471E #187A34 #22AD4A #35D763

Accessibility & contrast

On white

5.42
#187A34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#187A34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A34
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A34#FFFFFF#000000##FFFFFF
##187A341.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F2D
Deuteranopia (green-blind)
#706739
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187a34;
/* rgb */ color: rgb(24, 122, 52);
/* oklch */ color: oklch(50.9% 0.137 147.9);
Tailwind
colors: {
  custom: {
    50: '#67a16d',
    500: '#187a34',
    950: '#000000',
  },
}
SCSS
$custom: #187a34;
$custom-light: #67a16d;
$custom-dark: #000000;
JSON
{
  "hex": "#187a34",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 52
  },
  "hsl": {
    "h": 137.143,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50929,
    "c": 0.13676,
    "h": 147.9
  },
  "luminance": 0.14361
}

Semantic roles & 50–950 ramp

primary
#187A34
secondary
#AF3F8F
accent
#3EB9EA
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187A34

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

Preview Lab → · Contrast checker → · Palette generator →

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