#185312#185312

#185312 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.113 H 141.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#185312
RGBrgb(24, 83, 18)
HSLhsl(114, 64%, 20%)
HSVhsv(114, 78%, 33%)
CMYKcmyk(71.1%, 0%, 78.3%, 67.5%)
CIE-LABlab(30.46, -32.66, 30.87)
CIE-LCHlch(30.46, 44.95, 136.61°)
OKLaboklab(38.97% -0.089 0.0701)
OKLCHoklch(38.97% 0.113 141.8)
XYZxyz(3.5789, 6.4240, 1.6235)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185312 #4D1253
analogous
#385312 #185312 #12532D
triadic
#185312 #121853 #531218
tetradic
#185312 #123853 #4D1253 #532D12
square
#185312 #123853 #4D1253 #532D12
split-complementary
#185312 #2D1253 #531238
monochromatic
#071905 #092107 #185312 #27851D #35B828

Accessibility & contrast

On white

9.19
#185312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#185312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185312
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185312#FFFFFF#000000##FFFFFF
##1853121.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B07
Deuteranopia (green-blind)
#4E4619
Tritanopia (blue-blind)
#0C5046
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #185312;
/* rgb */ color: rgb(24, 83, 18);
/* oklch */ color: oklch(39.0% 0.113 141.8);
Tailwind
colors: {
  custom: {
    50: '#5e8454',
    500: '#185312',
    950: '#000000',
  },
}
SCSS
$custom: #185312;
$custom-light: #5e8454;
$custom-dark: #000000;
JSON
{
  "hex": "#185312",
  "rgb": {
    "r": 24,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 114.462,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38972,
    "c": 0.11332,
    "h": 141.8
  },
  "luminance": 0.06424
}

Semantic roles & 50–950 ramp

primary
#185312
secondary
#84358C
accent
#40E7D8
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #185312

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

Preview Lab → · Contrast checker → · Palette generator →

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