#187B16#187B16

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

Color values

HEX#187B16
RGBrgb(24, 123, 22)
HSLhsl(119, 70%, 28%)
HSVhsv(119, 82%, 48%)
CMYKcmyk(80.5%, 0%, 82.1%, 51.8%)
CIE-LABlab(44.83, -46.73, 43.53)
CIE-LCHlch(44.83, 63.87, 137.03°)
OKLaboklab(50.91% -0.1269 0.0971)
OKLCHoklch(50.91% 0.16 142.6)
XYZxyz(7.6040, 14.4171, 3.1409)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B16 #79167B
analogous
#4A7B16 #187B16 #167B46
triadic
#187B16 #16187B #7B1618
tetradic
#187B16 #164A7B #79167B #7B4616
square
#187B16 #164A7B #79167B #7B4616
split-complementary
#187B16 #46167B #7B164A
monochromatic
#051A05 #0E470D #187B16 #22AF1F #35DA31

Accessibility & contrast

On white

5.41
#187B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#187B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B16
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B16#FFFFFF#000000##FFFFFF
##187B161.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187b16;
/* rgb */ color: rgb(24, 123, 22);
/* oklch */ color: oklch(50.9% 0.160 142.6);
Tailwind
colors: {
  custom: {
    50: '#69a25c',
    500: '#187b16',
    950: '#000000',
  },
}
SCSS
$custom: #187b16;
$custom-light: #69a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#187b16",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 118.812,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50909,
    "c": 0.15981,
    "h": 142.6
  },
  "luminance": 0.14418
}

Semantic roles & 50–950 ramp

primary
#187B16
secondary
#AE3DB0
accent
#3BECE9
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #187B16

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

Preview Lab → · Contrast checker → · Palette generator →

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