#187221#187221

#187221 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.142 H 144.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#187221
RGBrgb(24, 114, 33)
HSLhsl(126, 65%, 27%)
HSVhsv(126, 79%, 45%)
CMYKcmyk(78.9%, 0%, 71.1%, 55.3%)
CIE-LABlab(41.75, -42.70, 36.16)
CIE-LCHlch(41.75, 55.95, 139.74°)
OKLaboklab(48.38% -0.1155 0.0832)
OKLCHoklch(48.38% 0.142 144.2)
XYZxyz(6.6681, 12.3378, 3.4686)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187221 #721869
analogous
#3C7218 #187221 #18724E
triadic
#187221 #211872 #722118
tetradic
#187221 #183C72 #721869 #724E18
square
#187221 #183C72 #721869 #724E18
split-complementary
#187221 #4E1872 #72183C
monochromatic
#051907 #0D3F12 #187221 #23A530 #31D441

Accessibility & contrast

On white

6.06
#187221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#187221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187221
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187221#FFFFFF#000000##FFFFFF
##1872211.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746716
Deuteranopia (green-blind)
#6A6029
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #187221;
/* rgb */ color: rgb(24, 114, 33);
/* oklch */ color: oklch(48.4% 0.142 144.2);
Tailwind
colors: {
  custom: {
    50: '#669b61',
    500: '#187221',
    950: '#000000',
  },
}
SCSS
$custom: #187221;
$custom-light: #669b61;
$custom-dark: #000000;
JSON
{
  "hex": "#187221",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 126,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48376,
    "c": 0.14233,
    "h": 144.2
  },
  "luminance": 0.12339
}

Semantic roles & 50–950 ramp

primary
#187221
secondary
#A73E9D
accent
#40D7E8
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #187221

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

Preview Lab → · Contrast checker → · Palette generator →

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