#187417#187417

#187417 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.151 H 142.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#187417
RGBrgb(24, 116, 23)
HSLhsl(119, 67%, 27%)
HSVhsv(119, 80%, 45%)
CMYKcmyk(79.3%, 0%, 80.2%, 54.5%)
CIE-LABlab(42.38, -44.30, 40.83)
CIE-LCHlch(42.38, 60.25, 137.34°)
OKLaboklab(48.88% -0.1203 0.0916)
OKLCHoklch(48.88% 0.151 142.7)
XYZxyz(6.7763, 12.7460, 2.9135)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187417 #731774
analogous
#467417 #187417 #177445
triadic
#187417 #171874 #741718
tetradic
#187417 #174674 #731774 #744517
square
#187417 #174674 #731774 #744517
split-complementary
#187417 #451774 #741746
monochromatic
#051A05 #0D410D #187417 #23A721 #31D630

Accessibility & contrast

On white

5.92
#187417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#187417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187417
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187417#FFFFFF#000000##FFFFFF
##1874171.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776802
Deuteranopia (green-blind)
#6D6122
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #187417;
/* rgb */ color: rgb(24, 116, 23);
/* oklch */ color: oklch(48.9% 0.151 142.7);
Tailwind
colors: {
  custom: {
    50: '#679d5c',
    500: '#187417',
    950: '#000000',
  },
}
SCSS
$custom: #187417;
$custom-light: #679d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#187417",
  "rgb": {
    "r": 24,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 119.355,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48876,
    "c": 0.15121,
    "h": 142.7
  },
  "luminance": 0.12747
}

Semantic roles & 50–950 ramp

primary
#187417
secondary
#A83DA9
accent
#3EEAE8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #187417

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

Preview Lab → · Contrast checker → · Palette generator →

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