#187216#187216

#187216 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.149 H 142.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#187216
RGBrgb(24, 114, 22)
HSLhsl(119, 68%, 27%)
HSVhsv(119, 81%, 45%)
CMYKcmyk(78.9%, 0%, 80.7%, 55.3%)
CIE-LABlab(41.67, -43.69, 40.49)
CIE-LCHlch(41.67, 59.57, 137.18°)
OKLaboklab(48.28% -0.1187 0.0908)
OKLCHoklch(48.28% 0.149 142.6)
XYZxyz(6.5384, 12.2860, 2.7857)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187216 #701672
analogous
#467216 #187216 #167242
triadic
#187216 #161872 #721618
tetradic
#187216 #164672 #701672 #724216
square
#187216 #164672 #701672 #724216
split-complementary
#187216 #421672 #721646
monochromatic
#051A05 #0D3F0C #187216 #23A520 #30D62C

Accessibility & contrast

On white

6.07
#187216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#187216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187216
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187216#FFFFFF#000000##FFFFFF
##1872161.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756601
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #187216;
/* rgb */ color: rgb(24, 114, 22);
/* oklch */ color: oklch(48.3% 0.149 142.6);
Tailwind
colors: {
  custom: {
    50: '#669c5b',
    500: '#187216',
    950: '#000000',
  },
}
SCSS
$custom: #187216;
$custom-light: #669c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#187216",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 118.696,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48283,
    "c": 0.14942,
    "h": 142.6
  },
  "luminance": 0.12287
}

Semantic roles & 50–950 ramp

primary
#187216
secondary
#A53CA8
accent
#3DEBE7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #187216

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

Preview Lab → · Contrast checker → · Palette generator →

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