#185222#185222

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

Color values

HEX#185222
RGBrgb(24, 82, 34)
HSLhsl(130, 55%, 21%)
HSVhsv(130, 71%, 32%)
CMYKcmyk(70.7%, 0%, 58.5%, 67.8%)
CIE-LABlab(30.26, -30.23, 22.59)
CIE-LCHlch(30.26, 37.74, 143.22°)
OKLaboklab(38.87% -0.0816 0.0542)
OKLCHoklch(38.87% 0.098 146.4)
XYZxyz(3.6825, 6.3439, 2.5435)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185222 #521848
analogous
#2B5218 #185222 #18523F
triadic
#185222 #221852 #522218
tetradic
#185222 #182B52 #521848 #523F18
square
#185222 #182B52 #521848 #523F18
split-complementary
#185222 #3F1852 #52182B
monochromatic
#07180A #0A230E #185222 #268136 #34B149

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##185222#FFFFFF#000000##FFFFFF
##1852221.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)
#534A1E
Deuteranopia (green-blind)
#4C4526
Tritanopia (blue-blind)
#075047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #185222;
/* rgb */ color: rgb(24, 82, 34);
/* oklch */ color: oklch(38.9% 0.098 146.4);
Tailwind
colors: {
  custom: {
    50: '#5d835e',
    500: '#185222',
    950: '#000000',
  },
}
SCSS
$custom: #185222;
$custom-light: #5d835e;
$custom-dark: #000000;
JSON
{
  "hex": "#185222",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 34
  },
  "hsl": {
    "h": 130.345,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.38868,
    "c": 0.09798,
    "h": 146.4
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#185222
secondary
#893D7C
accent
#4AC4DE
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #185222

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

Preview Lab → · Contrast checker → · Palette generator →

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