#186221#186221

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

Color values

HEX#186221
RGBrgb(24, 98, 33)
HSLhsl(127, 61%, 24%)
HSVhsv(127, 76%, 38%)
CMYKcmyk(75.5%, 0%, 66.3%, 61.6%)
CIE-LABlab(36.06, -36.81, 29.90)
CIE-LCHlch(36.06, 47.43, 140.92°)
OKLaboklab(43.66% -0.0995 0.0699)
OKLCHoklch(43.66% 0.122 144.9)
XYZxyz(5.0185, 9.0388, 2.9187)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186221 #621859
analogous
#346218 #186221 #186246
triadic
#186221 #211862 #622118
tetradic
#186221 #183462 #621859 #624618
square
#186221 #183462 #621859 #624618
split-complementary
#186221 #461862 #621834
monochromatic
#061908 #0C3110 #186221 #249332 #30C442

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##186221#FFFFFF#000000##FFFFFF
##1862211.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)
#64581A
Deuteranopia (green-blind)
#5B5227
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #186221;
/* rgb */ color: rgb(24, 98, 33);
/* oklch */ color: oklch(43.7% 0.122 144.9);
Tailwind
colors: {
  custom: {
    50: '#618f5f',
    500: '#186221',
    950: '#000000',
  },
}
SCSS
$custom: #186221;
$custom-light: #618f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#186221",
  "rgb": {
    "r": 24,
    "g": 98,
    "b": 33
  },
  "hsl": {
    "h": 127.297,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43657,
    "c": 0.12161,
    "h": 144.9
  },
  "luminance": 0.09039
}

Semantic roles & 50–950 ramp

primary
#186221
secondary
#983E8D
accent
#44D0E4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #186221

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

Preview Lab → · Contrast checker → · Palette generator →

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