#187817#187817

#187817 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.0% C 0.156 H 142.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#187817
RGBrgb(24, 120, 23)
HSLhsl(119, 68%, 28%)
HSVhsv(119, 81%, 47%)
CMYKcmyk(80%, 0%, 80.8%, 52.9%)
CIE-LABlab(43.78, -45.66, 42.20)
CIE-LCHlch(43.78, 62.17, 137.26°)
OKLaboklab(50.04% -0.124 0.0945)
OKLCHoklch(50.04% 0.156 142.7)
XYZxyz(7.2474, 13.6881, 3.0706)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187817 #771778
analogous
#497817 #187817 #177846
triadic
#187817 #171878 #781718
tetradic
#187817 #174978 #771778 #784617
square
#187817 #174978 #771778 #784617
split-complementary
#187817 #461778 #781749
monochromatic
#051A05 #0E450D #187817 #22AB21 #33D832

Accessibility & contrast

On white

5.62
#187817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#187817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187817
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187817#FFFFFF#000000##FFFFFF
##1878171.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#706522
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #187817;
/* rgb */ color: rgb(24, 120, 23);
/* oklch */ color: oklch(50.0% 0.156 142.7);
Tailwind
colors: {
  custom: {
    50: '#68a05c',
    500: '#187817',
    950: '#000000',
  },
}
SCSS
$custom: #187817;
$custom-light: #68a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#187817",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 119.381,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50044,
    "c": 0.15586,
    "h": 142.7
  },
  "luminance": 0.13689
}

Semantic roles & 50–950 ramp

primary
#187817
secondary
#AC3EAD
accent
#3DEBE9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #187817

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

Preview Lab → · Contrast checker → · Palette generator →

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