#187117#187117

#187117 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.0% C 0.148 H 142.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#187117
RGBrgb(24, 113, 23)
HSLhsl(119, 66%, 27%)
HSVhsv(119, 80%, 44%)
CMYKcmyk(78.8%, 0%, 79.6%, 55.7%)
CIE-LABlab(41.32, -43.27, 39.79)
CIE-LCHlch(41.32, 58.79, 137.40°)
OKLaboklab(48% -0.1175 0.0894)
OKLCHoklch(48% 0.148 142.7)
XYZxyz(6.4361, 12.0656, 2.8001)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187117 #701771
analogous
#457117 #187117 #177143
triadic
#187117 #171871 #711718
tetradic
#187117 #174571 #701771 #714317
square
#187117 #174571 #701771 #714317
split-complementary
#187117 #431771 #711745
monochromatic
#051905 #0D3E0D #187117 #23A421 #30D42E

Accessibility & contrast

On white

6.15
#187117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#187117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187117
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187117#FFFFFF#000000##FFFFFF
##1871171.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746603
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#006D60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #187117;
/* rgb */ color: rgb(24, 113, 23);
/* oklch */ color: oklch(48.0% 0.148 142.7);
Tailwind
colors: {
  custom: {
    50: '#669b5b',
    500: '#187117',
    950: '#000000',
  },
}
SCSS
$custom: #187117;
$custom-light: #669b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#187117",
  "rgb": {
    "r": 24,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 119.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47997,
    "c": 0.14768,
    "h": 142.7
  },
  "luminance": 0.12066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #187117

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

Preview Lab → · Contrast checker → · Palette generator →

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