#185223#185223

#185223 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.097 H 146.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#185223
RGBrgb(24, 82, 35)
HSLhsl(131, 55%, 21%)
HSVhsv(131, 71%, 32%)
CMYKcmyk(70.7%, 0%, 57.3%, 67.8%)
CIE-LABlab(30.28, -30.06, 22.05)
CIE-LCHlch(30.28, 37.28, 143.75°)
OKLaboklab(38.88% -0.0812 0.053)
OKLCHoklch(38.88% 0.097 146.8)
XYZxyz(3.6971, 6.3497, 2.6206)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185223 #521847
analogous
#2A5218 #185223 #185240
triadic
#185223 #231852 #522318
tetradic
#185223 #182A52 #521847 #524018
square
#185223 #182A52 #521847 #524018
split-complementary
#185223 #401852 #52182A
monochromatic
#07180A #0A230F #185223 #268137 #34B14B

Accessibility & contrast

On white

9.25
#185223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #185223
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185223#FFFFFF#000000##FFFFFF
##1852231.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #185223;
/* rgb */ color: rgb(24, 82, 35);
/* oklch */ color: oklch(38.9% 0.097 146.8);
Tailwind
colors: {
  custom: {
    50: '#5d835f',
    500: '#185223',
    950: '#000000',
  },
}
SCSS
$custom: #185223;
$custom-light: #5d835f;
$custom-dark: #000000;
JSON
{
  "hex": "#185223",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 35
  },
  "hsl": {
    "h": 131.379,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.38884,
    "c": 0.09696,
    "h": 146.8
  },
  "luminance": 0.0635
}

Semantic roles & 50–950 ramp

primary
#185223
secondary
#893D7A
accent
#4AC2DE
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #185223

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

Preview Lab → · Contrast checker → · Palette generator →

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