#187211#187211

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

Color values

HEX#187211
RGBrgb(24, 114, 17)
HSLhsl(116, 74%, 26%)
HSVhsv(116, 85%, 45%)
CMYKcmyk(78.9%, 0%, 85.1%, 55.3%)
CIE-LABlab(41.64, -44.03, 42.11)
CIE-LCHlch(41.64, 60.93, 136.28°)
OKLaboklab(48.25% -0.1198 0.0934)
OKLCHoklch(48.25% 0.152 142.1)
XYZxyz(6.4948, 12.2685, 2.5560)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187211 #6B1172
analogous
#487211 #187211 #11723A
triadic
#187211 #111872 #721118
tetradic
#187211 #114872 #6B1172 #723A11
square
#187211 #114872 #6B1172 #723A11
split-complementary
#187211 #3A1172 #721148
monochromatic
#061B04 #0D3D09 #187211 #23A719 #2EDD21

Accessibility & contrast

On white

6.08
#187211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#187211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187211
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187211#FFFFFF#000000##FFFFFF
##1872111.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6B601D
Tritanopia (blue-blind)
#006E60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #187211;
/* rgb */ color: rgb(24, 114, 17);
/* oklch */ color: oklch(48.3% 0.152 142.1);
Tailwind
colors: {
  custom: {
    50: '#679c59',
    500: '#187211',
    950: '#000000',
  },
}
SCSS
$custom: #187211;
$custom-light: #679c59;
$custom-dark: #000000;
JSON
{
  "hex": "#187211",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 115.67,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48252,
    "c": 0.15194,
    "h": 142.1
  },
  "luminance": 0.12269
}

Semantic roles & 50–950 ramp

primary
#187211
secondary
#A136A9
accent
#37F1E3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #187211

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

Preview Lab → · Contrast checker → · Palette generator →

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