#185E17#185E17

#185E17 is a dark, vivid green. Relative luminance 0.083; OKLCH L 42.4% C 0.124 H 142.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#185E17
RGBrgb(24, 94, 23)
HSLhsl(119, 61%, 23%)
HSVhsv(119, 76%, 37%)
CMYKcmyk(74.5%, 0%, 75.5%, 63.1%)
CIE-LABlab(34.52, -36.43, 32.91)
CIE-LCHlch(34.52, 49.09, 137.90°)
OKLaboklab(42.35% -0.099 0.0751)
OKLCHoklch(42.35% 0.124 142.8)
XYZxyz(4.5338, 8.2610, 2.1660)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185E17 #5D175E
analogous
#3B5E17 #185E17 #175E39
triadic
#185E17 #17185E #5E1718
tetradic
#185E17 #173B5E #5D175E #5E3917
square
#185E17 #173B5E #5D175E #5E3917
split-complementary
#185E17 #39175E #5E173B
monochromatic
#061906 #0B2D0B #185E17 #258F23 #31C02F

Accessibility & contrast

On white

7.92
#185E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#185E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185E17
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185E17#FFFFFF#000000##FFFFFF
##185E171.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60550C
Deuteranopia (green-blind)
#584F1E
Tritanopia (blue-blind)
#045B50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #185e17;
/* rgb */ color: rgb(24, 94, 23);
/* oklch */ color: oklch(42.4% 0.124 142.8);
Tailwind
colors: {
  custom: {
    50: '#618c59',
    500: '#185e17',
    950: '#000000',
  },
}
SCSS
$custom: #185e17;
$custom-light: #618c59;
$custom-dark: #000000;
JSON
{
  "hex": "#185e17",
  "rgb": {
    "r": 24,
    "g": 94,
    "b": 23
  },
  "hsl": {
    "h": 119.155,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42352,
    "c": 0.12421,
    "h": 142.8
  },
  "luminance": 0.08261
}

Semantic roles & 50–950 ramp

primary
#185E17
secondary
#933C95
accent
#44E4E2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #185E17

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

Preview Lab → · Contrast checker → · Palette generator →

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