#187B2F#187B2F

#187B2F is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.1% C 0.142 H 146.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#187B2F
RGBrgb(24, 123, 47)
HSLhsl(134, 67%, 29%)
HSVhsv(134, 80%, 48%)
CMYKcmyk(80.5%, 0%, 61.8%, 51.8%)
CIE-LABlab(45.03, -44.20, 33.23)
CIE-LCHlch(45.03, 55.30, 143.07°)
OKLaboklab(51.15% -0.119 0.0785)
OKLCHoklch(51.15% 0.143 146.6)
XYZxyz(7.9721, 14.5644, 5.0798)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B2F #7B1864
analogous
#337B18 #187B2F #187B61
triadic
#187B2F #2F187B #7B2F18
tetradic
#187B2F #18337B #7B1864 #7B6118
square
#187B2F #18337B #7B1864 #7B6118
split-complementary
#187B2F #61187B #7B1833
monochromatic
#051A0A #0E481B #187B2F #22AE43 #36D85B

Accessibility & contrast

On white

5.37
#187B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#187B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B2F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B2F#FFFFFF#000000##FFFFFF
##187B2F1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F27
Deuteranopia (green-blind)
#726835
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187b2f;
/* rgb */ color: rgb(24, 123, 47);
/* oklch */ color: oklch(51.1% 0.142 146.6);
Tailwind
colors: {
  custom: {
    50: '#67a26a',
    500: '#187b2f',
    950: '#000000',
  },
}
SCSS
$custom: #187b2f;
$custom-light: #67a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#187b2f",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 133.939,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51147,
    "c": 0.1425,
    "h": 146.6
  },
  "luminance": 0.14565
}

Semantic roles & 50–950 ramp

primary
#187B2F
secondary
#B03F96
accent
#3EC2EA
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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