#187017#187017

#187017 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.146 H 142.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#187017
RGBrgb(24, 112, 23)
HSLhsl(119, 66%, 26%)
HSVhsv(119, 79%, 44%)
CMYKcmyk(78.6%, 0%, 79.5%, 56.1%)
CIE-LABlab(40.97, -42.93, 39.44)
CIE-LCHlch(40.97, 58.30, 137.42°)
OKLaboklab(47.7% -0.1166 0.0887)
OKLCHoklch(47.7% 0.146 142.7)
XYZxyz(6.3251, 11.8437, 2.7632)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187017 #6F1770
analogous
#457017 #187017 #177043
triadic
#187017 #171870 #701718
tetradic
#187017 #174570 #6F1770 #704317
square
#187017 #174570 #6F1770 #704317
split-complementary
#187017 #431770 #701745
monochromatic
#051905 #0D3D0D #187017 #23A321 #2FD42D

Accessibility & contrast

On white

6.23
#187017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#187017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187017
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187017#FFFFFF#000000##FFFFFF
##1870171.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #187017;
/* rgb */ color: rgb(24, 112, 23);
/* oklch */ color: oklch(47.7% 0.146 142.7);
Tailwind
colors: {
  custom: {
    50: '#669a5b',
    500: '#187017',
    950: '#000000',
  },
}
SCSS
$custom: #187017;
$custom-light: #669a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#187017",
  "rgb": {
    "r": 24,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 119.326,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47703,
    "c": 0.14649,
    "h": 142.7
  },
  "luminance": 0.11844
}

Semantic roles & 50–950 ramp

primary
#187017
secondary
#A53DA6
accent
#3FE9E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #187017

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

Preview Lab → · Contrast checker → · Palette generator →

#187017 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva