#187217#187217

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

Color values

HEX#187217
RGBrgb(24, 114, 23)
HSLhsl(119, 66%, 27%)
HSVhsv(119, 80%, 45%)
CMYKcmyk(78.9%, 0%, 79.8%, 55.3%)
CIE-LABlab(41.67, -43.62, 40.14)
CIE-LCHlch(41.67, 59.28, 137.38°)
OKLaboklab(48.29% -0.1184 0.0902)
OKLCHoklch(48.29% 0.149 142.7)
XYZxyz(6.5483, 12.2899, 2.8375)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187217 #711772
analogous
#467217 #187217 #177244
triadic
#187217 #171872 #721718
tetradic
#187217 #174672 #711772 #724417
square
#187217 #174672 #711772 #724417
split-complementary
#187217 #441772 #721746
monochromatic
#051905 #0D3F0D #187217 #23A521 #30D52E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187217#FFFFFF#000000##FFFFFF
##1872171.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)
#756603
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #187217;
/* rgb */ color: rgb(24, 114, 23);
/* oklch */ color: oklch(48.3% 0.149 142.7);
Tailwind
colors: {
  custom: {
    50: '#669c5b',
    500: '#187217',
    950: '#000000',
  },
}
SCSS
$custom: #187217;
$custom-light: #669c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#187217",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 119.341,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.4829,
    "c": 0.14886,
    "h": 142.7
  },
  "luminance": 0.12291
}

Semantic roles & 50–950 ramp

primary
#187217
secondary
#A63DA8
accent
#3EE9E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #187217

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

Preview Lab → · Contrast checker → · Palette generator →

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