#185A23#185A23

#185A23 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.109 H 146.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#185A23
RGBrgb(24, 90, 35)
HSLhsl(130, 58%, 22%)
HSVhsv(130, 73%, 35%)
CMYKcmyk(73.3%, 0%, 61.1%, 64.7%)
CIE-LABlab(33.19, -33.39, 25.55)
CIE-LCHlch(33.19, 42.04, 142.58°)
OKLaboklab(41.29% -0.0901 0.0607)
OKLCHoklch(41.29% 0.109 146)
XYZxyz(4.3359, 7.6274, 2.8335)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185A23 #5A184F
analogous
#2E5A18 #185A23 #185A44
triadic
#185A23 #23185A #5A2318
tetradic
#185A23 #182E5A #5A184F #5A4418
square
#185A23 #182E5A #5A184F #5A4418
split-complementary
#185A23 #44185A #5A182E
monochromatic
#061809 #0B2A10 #185A23 #258A36 #32BB49

Accessibility & contrast

On white

8.31
#185A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#185A23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185A23
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185A23#FFFFFF#000000##FFFFFF
##185A231.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B511E
Deuteranopia (green-blind)
#534C27
Tritanopia (blue-blind)
#02584E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #185a23;
/* rgb */ color: rgb(24, 90, 35);
/* oklch */ color: oklch(41.3% 0.109 146.0);
Tailwind
colors: {
  custom: {
    50: '#5f8960',
    500: '#185a23',
    950: '#000000',
  },
}
SCSS
$custom: #185a23;
$custom-light: #5f8960;
$custom-dark: #000000;
JSON
{
  "hex": "#185a23",
  "rgb": {
    "r": 24,
    "g": 90,
    "b": 35
  },
  "hsl": {
    "h": 130,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41294,
    "c": 0.10869,
    "h": 146
  },
  "luminance": 0.07628
}

Semantic roles & 50–950 ramp

primary
#185A23
secondary
#913D83
accent
#47C7E1
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #185A23

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

Preview Lab → · Contrast checker → · Palette generator →

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