#185F18#185F18

#185F18 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.7% C 0.125 H 143.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#185F18
RGBrgb(24, 95, 24)
HSLhsl(120, 60%, 23%)
HSVhsv(120, 75%, 37%)
CMYKcmyk(74.7%, 0%, 74.7%, 62.7%)
CIE-LABlab(34.89, -36.71, 32.86)
CIE-LCHlch(34.89, 49.27, 138.16°)
OKLaboklab(42.66% -0.0997 0.0751)
OKLCHoklch(42.66% 0.125 143)
XYZxyz(4.6335, 8.4441, 2.2497)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185F18 #5F185F
analogous
#3B5F18 #185F18 #185F3B
triadic
#185F18 #18185F #5F1818
tetradic
#185F18 #183B5F #5F185F #5F3B18
square
#185F18 #183B5F #5F185F #5F3B18
split-complementary
#185F18 #3B185F #5F183B
monochromatic
#061806 #0C2E0C #185F18 #249024 #31C131

Accessibility & contrast

On white

7.81
#185F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#185F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185F18
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185F18#FFFFFF#000000##FFFFFF
##185F181.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550D
Deuteranopia (green-blind)
#59501F
Tritanopia (blue-blind)
#035C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #185f18;
/* rgb */ color: rgb(24, 95, 24);
/* oklch */ color: oklch(42.7% 0.125 143.0);
Tailwind
colors: {
  custom: {
    50: '#618d59',
    500: '#185f18',
    950: '#000000',
  },
}
SCSS
$custom: #185f18;
$custom-light: #618d59;
$custom-dark: #000000;
JSON
{
  "hex": "#185f18",
  "rgb": {
    "r": 24,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.42662,
    "c": 0.12479,
    "h": 143
  },
  "luminance": 0.08445
}

Semantic roles & 50–950 ramp

primary
#185F18
secondary
#953D95
accent
#45E3E3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #185F18

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

Preview Lab → · Contrast checker → · Palette generator →

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