#187B1B#187B1B

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

Color values

HEX#187B1B
RGBrgb(24, 123, 27)
HSLhsl(122, 67%, 29%)
HSVhsv(122, 80%, 48%)
CMYKcmyk(80.5%, 0%, 78%, 51.8%)
CIE-LABlab(44.86, -46.36, 41.82)
CIE-LCHlch(44.86, 62.44, 137.95°)
OKLaboklab(50.94% -0.1257 0.0942)
OKLCHoklch(50.94% 0.157 143.1)
XYZxyz(7.6570, 14.4383, 3.4200)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B1B #7B1878
analogous
#477B18 #187B1B #187B4D
triadic
#187B1B #1B187B #7B1B18
tetradic
#187B1B #18477B #7B1878 #7B4D18
square
#187B1B #18477B #7B1878 #7B4D18
split-complementary
#187B1B #4D187B #7B1847
monochromatic
#051A06 #0E4810 #187B1B #22AE26 #36D83B

Accessibility & contrast

On white

5.40
#187B1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#187B1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B1B
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B1B#FFFFFF#000000##FFFFFF
##187B1B1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F06
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187b1b;
/* rgb */ color: rgb(24, 123, 27);
/* oklch */ color: oklch(50.9% 0.157 143.1);
Tailwind
colors: {
  custom: {
    50: '#68a25f',
    500: '#187b1b',
    950: '#000000',
  },
}
SCSS
$custom: #187b1b;
$custom-light: #68a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#187b1b",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 121.818,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50944,
    "c": 0.1571,
    "h": 143.1
  },
  "luminance": 0.14439
}

Semantic roles & 50–950 ramp

primary
#187B1B
secondary
#B03FAC
accent
#3EE5EA
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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