#185017#185017

#185017 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.105 H 142.9°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#185017
RGBrgb(24, 80, 23)
HSLhsl(119, 55%, 20%)
HSVhsv(119, 71%, 31%)
CMYKcmyk(70%, 0%, 71.2%, 68.6%)
CIE-LABlab(29.39, -30.92, 27.43)
CIE-LCHlch(29.39, 41.34, 138.42°)
OKLaboklab(38.11% -0.084 0.0635)
OKLCHoklch(38.11% 0.105 142.9)
XYZxyz(3.3998, 5.9930, 1.7880)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185017 #4F1750
analogous
#355017 #185017 #175032
triadic
#185017 #171850 #501718
tetradic
#185017 #173550 #4F1750 #503217
square
#185017 #173550 #4F1750 #503217
split-complementary
#185017 #321750 #501735
monochromatic
#071807 #0A2009 #185017 #268025 #35AF32

Accessibility & contrast

On white

9.55
#185017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#185017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185017
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185017#FFFFFF#000000##FFFFFF
##1850171.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524810
Deuteranopia (green-blind)
#4B431C
Tritanopia (blue-blind)
#0C4E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #185017;
/* rgb */ color: rgb(24, 80, 23);
/* oklch */ color: oklch(38.1% 0.105 142.9);
Tailwind
colors: {
  custom: {
    50: '#5d8257',
    500: '#185017',
    950: '#000000',
  },
}
SCSS
$custom: #185017;
$custom-light: #5d8257;
$custom-dark: #000000;
JSON
{
  "hex": "#185017",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 118.947,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38107,
    "c": 0.10535,
    "h": 142.9
  },
  "luminance": 0.05993
}

Semantic roles & 50–950 ramp

primary
#185017
secondary
#863C87
accent
#49DFDC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A03
muted
#797C78

Preview Lab

Preview with #185017

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

Preview Lab → · Contrast checker → · Palette generator →

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