#185221#185221

#185221 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.9% C 0.099 H 146.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#185221
RGBrgb(24, 82, 33)
HSLhsl(129, 55%, 21%)
HSVhsv(129, 71%, 32%)
CMYKcmyk(70.7%, 0%, 59.8%, 67.8%)
CIE-LABlab(30.25, -30.38, 23.14)
CIE-LCHlch(30.25, 38.19, 142.71°)
OKLaboklab(38.85% -0.0821 0.0553)
OKLCHoklch(38.85% 0.099 146)
XYZxyz(3.6683, 6.3382, 2.4686)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185221 #521849
analogous
#2C5218 #185221 #18523E
triadic
#185221 #211852 #522118
tetradic
#185221 #182C52 #521849 #523E18
square
#185221 #182C52 #521849 #523E18
split-complementary
#185221 #3E1852 #52182C
monochromatic
#07180A #0A230E #185221 #268134 #34B147

Accessibility & contrast

On white

9.26
#185221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#185221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185221
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185221#FFFFFF#000000##FFFFFF
##1852211.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1C
Deuteranopia (green-blind)
#4C4525
Tritanopia (blue-blind)
#075047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #185221;
/* rgb */ color: rgb(24, 82, 33);
/* oklch */ color: oklch(38.9% 0.099 146.0);
Tailwind
colors: {
  custom: {
    50: '#5d835e',
    500: '#185221',
    950: '#000000',
  },
}
SCSS
$custom: #185221;
$custom-light: #5d835e;
$custom-dark: #000000;
JSON
{
  "hex": "#185221",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 33
  },
  "hsl": {
    "h": 129.31,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.38852,
    "c": 0.09898,
    "h": 146
  },
  "luminance": 0.06339
}

Semantic roles & 50–950 ramp

primary
#185221
secondary
#893D7D
accent
#4AC7DE
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #185221

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

Preview Lab → · Contrast checker → · Palette generator →

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