#187816#187816

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

Color values

HEX#187816
RGBrgb(24, 120, 22)
HSLhsl(119, 69%, 28%)
HSVhsv(119, 82%, 47%)
CMYKcmyk(80%, 0%, 81.7%, 52.9%)
CIE-LABlab(43.78, -45.73, 42.53)
CIE-LCHlch(43.78, 62.45, 137.08°)
OKLaboklab(50.04% -0.1242 0.095)
OKLCHoklch(50.04% 0.156 142.6)
XYZxyz(7.2375, 13.6842, 3.0188)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187816 #761678
analogous
#497816 #187816 #167845
triadic
#187816 #161878 #781618
tetradic
#187816 #164978 #761678 #784516
square
#187816 #164978 #761678 #784516
split-complementary
#187816 #451678 #781649
monochromatic
#051A05 #0E440D #187816 #22AC1F #33D92F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187816#FFFFFF#000000##FFFFFF
##1878161.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: #187816;
/* rgb */ color: rgb(24, 120, 22);
/* oklch */ color: oklch(50.0% 0.156 142.6);
Tailwind
colors: {
  custom: {
    50: '#68a05c',
    500: '#187816',
    950: '#000000',
  },
}
SCSS
$custom: #187816;
$custom-light: #68a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#187816",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 118.776,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50037,
    "c": 0.15638,
    "h": 142.6
  },
  "luminance": 0.13685
}

Semantic roles & 50–950 ramp

primary
#187816
secondary
#AB3CAD
accent
#3CECE8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #187816

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

Preview Lab → · Contrast checker → · Palette generator →

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