#185212#185212

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

Color values

HEX#185212
RGBrgb(24, 82, 18)
HSLhsl(114, 64%, 20%)
HSVhsv(114, 78%, 32%)
CMYKcmyk(70.7%, 0%, 78%, 67.8%)
CIE-LABlab(30.09, -32.26, 30.49)
CIE-LCHlch(30.09, 44.40, 136.62°)
OKLaboklab(38.67% -0.088 0.0693)
OKLCHoklch(38.67% 0.112 141.8)
XYZxyz(3.5030, 6.2721, 1.5982)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185212 #4C1252
analogous
#385212 #185212 #12522C
triadic
#185212 #121852 #521218
tetradic
#185212 #123852 #4C1252 #522C12
square
#185212 #123852 #4C1252 #522C12
split-complementary
#185212 #2C1252 #521238
monochromatic
#071906 #092007 #185212 #27841D #35B628

Accessibility & contrast

On white

9.32
#185212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#185212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185212
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185212#FFFFFF#000000##FFFFFF
##1852121.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A07
Deuteranopia (green-blind)
#4D4518
Tritanopia (blue-blind)
#0D4F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #185212;
/* rgb */ color: rgb(24, 82, 18);
/* oklch */ color: oklch(38.7% 0.112 141.8);
Tailwind
colors: {
  custom: {
    50: '#5e8354',
    500: '#185212',
    950: '#000000',
  },
}
SCSS
$custom: #185212;
$custom-light: #5e8354;
$custom-dark: #000000;
JSON
{
  "hex": "#185212",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 114.375,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38667,
    "c": 0.11199,
    "h": 141.8
  },
  "luminance": 0.06272
}

Semantic roles & 50–950 ramp

primary
#185212
secondary
#83358B
accent
#41E7D7
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #185212

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

Preview Lab → · Contrast checker → · Palette generator →

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