#185118#185118

#185118 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.106 H 143.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#185118
RGBrgb(24, 81, 24)
HSLhsl(120, 54%, 21%)
HSVhsv(120, 70%, 32%)
CMYKcmyk(70.4%, 0%, 70.4%, 68.2%)
CIE-LABlab(29.77, -31.21, 27.35)
CIE-LCHlch(29.77, 41.50, 138.77°)
OKLaboklab(38.42% -0.0848 0.0635)
OKLCHoklch(38.42% 0.106 143.2)
XYZxyz(3.4838, 6.1446, 1.8664)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185118 #511851
analogous
#345118 #185118 #185134
triadic
#185118 #181851 #511818
tetradic
#185118 #183451 #511851 #513418
square
#185118 #183451 #511851 #513418
split-complementary
#185118 #341851 #511834
monochromatic
#071807 #0A220A #185118 #268026 #34AF34

Accessibility & contrast

On white

9.42
#185118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#185118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185118
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185118#FFFFFF#000000##FFFFFF
##1851181.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534911
Deuteranopia (green-blind)
#4C441D
Tritanopia (blue-blind)
#0C4F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #185118;
/* rgb */ color: rgb(24, 81, 24);
/* oklch */ color: oklch(38.4% 0.106 143.2);
Tailwind
colors: {
  custom: {
    50: '#5e8258',
    500: '#185118',
    950: '#000000',
  },
}
SCSS
$custom: #185118;
$custom-light: #5e8258;
$custom-dark: #000000;
JSON
{
  "hex": "#185118",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38424,
    "c": 0.10591,
    "h": 143.2
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#185118
secondary
#883D88
accent
#4ADEDE
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A03
muted
#797C78

Preview Lab

Preview with #185118

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

Preview Lab → · Contrast checker → · Palette generator →

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