#187B34#187B34

#187B34 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.138 H 147.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#187B34
RGBrgb(24, 123, 52)
HSLhsl(137, 67%, 29%)
HSVhsv(137, 80%, 48%)
CMYKcmyk(80.5%, 0%, 57.7%, 51.8%)
CIE-LABlab(45.09, -43.48, 30.77)
CIE-LCHlch(45.09, 53.27, 144.72°)
OKLaboklab(51.22% -0.1169 0.0735)
OKLCHoklch(51.22% 0.138 147.8)
XYZxyz(8.0788, 14.6071, 5.6418)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B34 #7B185F
analogous
#2E7B18 #187B34 #187B66
triadic
#187B34 #34187B #7B3418
tetradic
#187B34 #182E7B #7B185F #7B6618
square
#187B34 #182E7B #7B185F #7B6618
split-complementary
#187B34 #66187B #7B182E
monochromatic
#051A0B #0E481E #187B34 #22AE4A #36D864

Accessibility & contrast

On white

5.35
#187B34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#187B34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B34
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B34#FFFFFF#000000##FFFFFF
##187B341.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2D
Deuteranopia (green-blind)
#71683A
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187b34;
/* rgb */ color: rgb(24, 123, 52);
/* oklch */ color: oklch(51.2% 0.138 147.8);
Tailwind
colors: {
  custom: {
    50: '#67a26d',
    500: '#187b34',
    950: '#000000',
  },
}
SCSS
$custom: #187b34;
$custom-light: #67a26d;
$custom-dark: #000000;
JSON
{
  "hex": "#187b34",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 52
  },
  "hsl": {
    "h": 136.97,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51216,
    "c": 0.13807,
    "h": 147.8
  },
  "luminance": 0.14608
}

Semantic roles & 50–950 ramp

primary
#187B34
secondary
#B03F90
accent
#3EB9EA
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187B34

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

Preview Lab → · Contrast checker → · Palette generator →

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