#185D17#185D17

#185D17 is a dark, vivid green. Relative luminance 0.081; OKLCH L 42.1% C 0.123 H 142.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#185D17
RGBrgb(24, 93, 23)
HSLhsl(119, 60%, 23%)
HSVhsv(119, 75%, 36%)
CMYKcmyk(74.2%, 0%, 75.3%, 63.5%)
CIE-LABlab(34.16, -36.05, 32.53)
CIE-LCHlch(34.16, 48.56, 137.94°)
OKLaboklab(42.05% -0.0979 0.0743)
OKLCHoklch(42.05% 0.123 142.8)
XYZxyz(4.4454, 8.0843, 2.1366)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185D17 #5C175D
analogous
#3B5D17 #185D17 #175D39
triadic
#185D17 #17185D #5D1718
tetradic
#185D17 #173B5D #5C175D #5D3917
square
#185D17 #173B5D #5C175D #5D3917
split-complementary
#185D17 #39175D #5D173B
monochromatic
#061906 #0B2C0B #185D17 #258E23 #31BF2F

Accessibility & contrast

On white

8.02
#185D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#185D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185D17
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185D17#FFFFFF#000000##FFFFFF
##185D171.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540C
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#055A4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #185d17;
/* rgb */ color: rgb(24, 93, 23);
/* oklch */ color: oklch(42.1% 0.123 142.8);
Tailwind
colors: {
  custom: {
    50: '#618c58',
    500: '#185d17',
    950: '#000000',
  },
}
SCSS
$custom: #185d17;
$custom-light: #618c58;
$custom-dark: #000000;
JSON
{
  "hex": "#185d17",
  "rgb": {
    "r": 24,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 119.143,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42051,
    "c": 0.12291,
    "h": 142.8
  },
  "luminance": 0.08085
}

Semantic roles & 50–950 ramp

primary
#185D17
secondary
#933C94
accent
#44E3E1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #185D17

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

Preview Lab → · Contrast checker → · Palette generator →

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