#185B2F#185B2F

#185B2F is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.098 H 150.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#185B2F
RGBrgb(24, 91, 47)
HSLhsl(141, 58%, 23%)
HSVhsv(141, 74%, 36%)
CMYKcmyk(73.6%, 0%, 48.4%, 64.3%)
CIE-LABlab(33.73, -31.76, 19.45)
CIE-LCHlch(33.73, 37.24, 148.51°)
OKLaboklab(41.8% -0.0856 0.0478)
OKLCHoklch(41.8% 0.098 150.8)
XYZxyz(4.6305, 7.8811, 3.9659)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185B2F #5B1844
analogous
#225B18 #185B2F #185B50
triadic
#185B2F #2F185B #5B2F18
tetradic
#185B2F #18225B #5B1844 #5B5018
square
#185B2F #18225B #5B1844 #5B5018
split-complementary
#185B2F #50185B #5B1822
monochromatic
#06180D #0B2B16 #185B2F #258B48 #32BC61

Accessibility & contrast

On white

8.15
#185B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#185B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185B2F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185B2F#FFFFFF#000000##FFFFFF
##185B2F1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B532C
Deuteranopia (green-blind)
#534D32
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #185b2f;
/* rgb */ color: rgb(24, 91, 47);
/* oklch */ color: oklch(41.8% 0.098 150.8);
Tailwind
colors: {
  custom: {
    50: '#5f8a68',
    500: '#185b2f',
    950: '#000000',
  },
}
SCSS
$custom: #185b2f;
$custom-light: #5f8a68;
$custom-dark: #000000;
JSON
{
  "hex": "#185b2f",
  "rgb": {
    "r": 24,
    "g": 91,
    "b": 47
  },
  "hsl": {
    "h": 140.597,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41797,
    "c": 0.09802,
    "h": 150.8
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#185B2F
secondary
#923D75
accent
#46ACE1
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #185B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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