#187220#187220

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

Color values

HEX#187220
RGBrgb(24, 114, 32)
HSLhsl(125, 65%, 27%)
HSVhsv(125, 79%, 45%)
CMYKcmyk(78.9%, 0%, 71.9%, 55.3%)
CIE-LABlab(41.74, -42.80, 36.60)
CIE-LCHlch(41.74, 56.31, 139.47°)
OKLaboklab(48.37% -0.1158 0.084)
OKLCHoklch(48.37% 0.143 144)
XYZxyz(6.6543, 12.3323, 3.3959)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187220 #72186A
analogous
#3D7218 #187220 #18724D
triadic
#187220 #201872 #722018
tetradic
#187220 #183D72 #72186A #724D18
square
#187220 #183D72 #72186A #724D18
split-complementary
#187220 #4D1872 #72183D
monochromatic
#051907 #0D3F12 #187220 #23A52E #31D43F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187220#FFFFFF#000000##FFFFFF
##1872201.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)
#746714
Deuteranopia (green-blind)
#6A6028
Tritanopia (blue-blind)
#006F61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #187220;
/* rgb */ color: rgb(24, 114, 32);
/* oklch */ color: oklch(48.4% 0.143 144.0);
Tailwind
colors: {
  custom: {
    50: '#669b60',
    500: '#187220',
    950: '#000000',
  },
}
SCSS
$custom: #187220;
$custom-light: #669b60;
$custom-dark: #000000;
JSON
{
  "hex": "#187220",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 125.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48367,
    "c": 0.14305,
    "h": 144
  },
  "luminance": 0.12333
}

Semantic roles & 50–950 ramp

primary
#187220
secondary
#A73E9E
accent
#40D9E8
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #187220

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

Preview Lab → · Contrast checker → · Palette generator →

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