#185213#185213

#185213 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.111 H 142.0°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#185213
RGBrgb(24, 82, 19)
HSLhsl(115, 62%, 20%)
HSVhsv(115, 77%, 32%)
CMYKcmyk(70.7%, 0%, 76.8%, 67.8%)
CIE-LABlab(30.10, -32.17, 30.06)
CIE-LCHlch(30.10, 44.03, 136.94°)
OKLaboklab(38.68% -0.0877 0.0685)
OKLCHoklch(38.68% 0.111 142)
XYZxyz(3.5113, 6.2754, 1.6422)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185213 #4D1352
analogous
#385213 #185213 #13522E
triadic
#185213 #131852 #521318
tetradic
#185213 #133852 #4D1352 #522E13
square
#185213 #133852 #4D1352 #522E13
split-complementary
#185213 #2E1352 #521338
monochromatic
#071906 #092007 #185213 #27841F #35B52A

Accessibility & contrast

On white

9.31
#185213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#185213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185213
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185213#FFFFFF#000000##FFFFFF
##1852131.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A09
Deuteranopia (green-blind)
#4D4519
Tritanopia (blue-blind)
#0C4F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #185213;
/* rgb */ color: rgb(24, 82, 19);
/* oklch */ color: oklch(38.7% 0.111 142.0);
Tailwind
colors: {
  custom: {
    50: '#5e8355',
    500: '#185213',
    950: '#000000',
  },
}
SCSS
$custom: #185213;
$custom-light: #5e8355;
$custom-dark: #000000;
JSON
{
  "hex": "#185213",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 115.238,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38676,
    "c": 0.11127,
    "h": 142
  },
  "luminance": 0.06276
}

Semantic roles & 50–950 ramp

primary
#185213
secondary
#84368A
accent
#42E5D9
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #185213

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

Preview Lab → · Contrast checker → · Palette generator →

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