#185018#185018

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

Color values

HEX#185018
RGBrgb(24, 80, 24)
HSLhsl(120, 54%, 20%)
HSVhsv(120, 70%, 31%)
CMYKcmyk(70%, 0%, 70%, 68.6%)
CIE-LABlab(29.41, -30.80, 26.94)
CIE-LCHlch(29.41, 40.93, 138.82°)
OKLaboklab(38.12% -0.0837 0.0626)
OKLCHoklch(38.12% 0.105 143.2)
XYZxyz(3.4100, 5.9971, 1.8418)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185018 #501850
analogous
#345018 #185018 #185034
triadic
#185018 #181850 #501818
tetradic
#185018 #183450 #501850 #503418
square
#185018 #183450 #501850 #503418
split-complementary
#185018 #341850 #501834
monochromatic
#071807 #0A210A #185018 #267F26 #34AE34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##185018#FFFFFF#000000##FFFFFF
##1850181.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)
#524811
Deuteranopia (green-blind)
#4B431D
Tritanopia (blue-blind)
#0C4E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #185018;
/* rgb */ color: rgb(24, 80, 24);
/* oklch */ color: oklch(38.1% 0.104 143.2);
Tailwind
colors: {
  custom: {
    50: '#5d8257',
    500: '#185018',
    950: '#000000',
  },
}
SCSS
$custom: #185018;
$custom-light: #5d8257;
$custom-dark: #000000;
JSON
{
  "hex": "#185018",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38119,
    "c": 0.1045,
    "h": 143.2
  },
  "luminance": 0.05997
}

Semantic roles & 50–950 ramp

primary
#185018
secondary
#873D87
accent
#4BDDDD
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A03
muted
#797C78

Preview Lab

Preview with #185018

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

Preview Lab → · Contrast checker → · Palette generator →

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