#187213#187213

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

Color values

HEX#187213
RGBrgb(24, 114, 19)
HSLhsl(117, 71%, 26%)
HSVhsv(117, 83%, 45%)
CMYKcmyk(78.9%, 0%, 83.3%, 55.3%)
CIE-LABlab(41.65, -43.90, 41.49)
CIE-LCHlch(41.65, 60.41, 136.62°)
OKLaboklab(48.26% -0.1194 0.0924)
OKLCHoklch(48.26% 0.151 142.3)
XYZxyz(6.5112, 12.2751, 2.6421)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187213 #6D1372
analogous
#477213 #187213 #13723D
triadic
#187213 #131872 #721318
tetradic
#187213 #134772 #6D1372 #723D13
square
#187213 #134772 #6D1372 #723D13
split-complementary
#187213 #3D1372 #721347
monochromatic
#061A04 #0D3E0A #187213 #23A61C #2EDB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187213#FFFFFF#000000##FFFFFF
##1872131.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187213;
/* rgb */ color: rgb(24, 114, 19);
/* oklch */ color: oklch(48.3% 0.151 142.3);
Tailwind
colors: {
  custom: {
    50: '#669c5a',
    500: '#187213',
    950: '#000000',
  },
}
SCSS
$custom: #187213;
$custom-light: #669c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#187213",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 116.842,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48264,
    "c": 0.15099,
    "h": 142.3
  },
  "luminance": 0.12276
}

Semantic roles & 50–950 ramp

primary
#187213
secondary
#A338A9
accent
#3AEEE5
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #187213

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

Preview Lab → · Contrast checker → · Palette generator →

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