#186222#186222

#186222 is a dark, vivid green. Relative luminance 0.090; OKLCH L 43.7% C 0.121 H 145.1°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#186222
RGBrgb(24, 98, 34)
HSLhsl(128, 61%, 24%)
HSVhsv(128, 76%, 38%)
CMYKcmyk(75.5%, 0%, 65.3%, 61.6%)
CIE-LABlab(36.07, -36.68, 29.41)
CIE-LCHlch(36.07, 47.02, 141.28°)
OKLaboklab(43.67% -0.0991 0.069)
OKLCHoklch(43.67% 0.121 145.1)
XYZxyz(5.0328, 9.0445, 2.9936)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186222 #621858
analogous
#336218 #186222 #186247
triadic
#186222 #221862 #622218
tetradic
#186222 #183362 #621858 #624718
square
#186222 #183362 #621858 #624718
split-complementary
#186222 #471862 #621833
monochromatic
#061909 #0C3111 #186222 #249333 #30C444

Accessibility & contrast

On white

7.48
#186222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#186222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #186222
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186222#FFFFFF#000000##FFFFFF
##1862221.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64581B
Deuteranopia (green-blind)
#5B5327
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #186222;
/* rgb */ color: rgb(24, 98, 34);
/* oklch */ color: oklch(43.7% 0.121 145.1);
Tailwind
colors: {
  custom: {
    50: '#618f60',
    500: '#186222',
    950: '#000000',
  },
}
SCSS
$custom: #186222;
$custom-light: #618f60;
$custom-dark: #000000;
JSON
{
  "hex": "#186222",
  "rgb": {
    "r": 24,
    "g": 98,
    "b": 34
  },
  "hsl": {
    "h": 128.108,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4367,
    "c": 0.12075,
    "h": 145.1
  },
  "luminance": 0.09045
}

Semantic roles & 50–950 ramp

primary
#186222
secondary
#983E8C
accent
#44CEE4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #186222

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

Preview Lab → · Contrast checker → · Palette generator →

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