#187B17#187B17

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

Color values

HEX#187B17
RGBrgb(24, 123, 23)
HSLhsl(119, 68%, 29%)
HSVhsv(119, 81%, 48%)
CMYKcmyk(80.5%, 0%, 81.3%, 51.8%)
CIE-LABlab(44.83, -46.66, 43.21)
CIE-LCHlch(44.83, 63.60, 137.20°)
OKLaboklab(50.92% -0.1267 0.0966)
OKLCHoklch(50.92% 0.159 142.7)
XYZxyz(7.6138, 14.4211, 3.1927)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B17 #7A177B
analogous
#4A7B17 #187B17 #177B48
triadic
#187B17 #17187B #7B1718
tetradic
#187B17 #174A7B #7A177B #7B4817
square
#187B17 #174A7B #7A177B #7B4817
split-complementary
#187B17 #48177B #7B174A
monochromatic
#051A05 #0E470D #187B17 #22AF21 #35D933

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187B17#FFFFFF#000000##FFFFFF
##187B171.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)
#736723
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187b17;
/* rgb */ color: rgb(24, 123, 23);
/* oklch */ color: oklch(50.9% 0.159 142.7);
Tailwind
colors: {
  custom: {
    50: '#69a25d',
    500: '#187b17',
    950: '#000000',
  },
}
SCSS
$custom: #187b17;
$custom-light: #69a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#187b17",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 119.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50916,
    "c": 0.15929,
    "h": 142.7
  },
  "luminance": 0.14422
}

Semantic roles & 50–950 ramp

primary
#187B17
secondary
#AF3EB0
accent
#3CEBEA
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #187B17

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

Preview Lab → · Contrast checker → · Palette generator →

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