#185A17#185A17

#185A17 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.1% C 0.119 H 142.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#185A17
RGBrgb(24, 90, 23)
HSLhsl(119, 59%, 22%)
HSVhsv(119, 74%, 35%)
CMYKcmyk(73.3%, 0%, 74.4%, 64.7%)
CIE-LABlab(33.07, -34.90, 31.39)
CIE-LCHlch(33.07, 46.94, 138.04°)
OKLaboklab(41.15% -0.0948 0.0719)
OKLCHoklch(41.15% 0.119 142.8)
XYZxyz(4.1873, 7.5679, 2.0505)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185A17 #59175A
analogous
#3A5A17 #185A17 #175A37
triadic
#185A17 #17185A #5A1718
tetradic
#185A17 #173A5A #59175A #5A3717
square
#185A17 #173A5A #59175A #5A3717
split-complementary
#185A17 #37175A #5A173A
monochromatic
#061806 #0B290B #185A17 #258B23 #32BB30

Accessibility & contrast

On white

8.35
#185A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#185A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185A17
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185A17#FFFFFF#000000##FFFFFF
##185A171.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510D
Deuteranopia (green-blind)
#544C1D
Tritanopia (blue-blind)
#07574D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #185a17;
/* rgb */ color: rgb(24, 90, 23);
/* oklch */ color: oklch(41.1% 0.119 142.8);
Tailwind
colors: {
  custom: {
    50: '#608958',
    500: '#185a17',
    950: '#000000',
  },
}
SCSS
$custom: #185a17;
$custom-light: #608958;
$custom-dark: #000000;
JSON
{
  "hex": "#185a17",
  "rgb": {
    "r": 24,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 119.104,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41146,
    "c": 0.11899,
    "h": 142.8
  },
  "luminance": 0.07568
}

Semantic roles & 50–950 ramp

primary
#185A17
secondary
#903C91
accent
#45E2E0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #185A17

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

Preview Lab → · Contrast checker → · Palette generator →

#185A17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva