#185A2F#185A2F

#185A2F is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.097 H 151.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#185A2F
RGBrgb(24, 90, 47)
HSLhsl(141, 58%, 22%)
HSVhsv(141, 73%, 35%)
CMYKcmyk(73.3%, 0%, 47.8%, 64.7%)
CIE-LABlab(33.37, -31.33, 18.99)
CIE-LCHlch(33.37, 36.64, 148.78°)
OKLaboklab(41.5% -0.0844 0.0467)
OKLCHoklch(41.5% 0.097 151)
XYZxyz(4.5456, 7.7113, 3.9376)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185A2F #5A1843
analogous
#225A18 #185A2F #185A50
triadic
#185A2F #2F185A #5A2F18
tetradic
#185A2F #18225A #5A1843 #5A5018
square
#185A2F #18225A #5A1843 #5A5018
split-complementary
#185A2F #50185A #5A1822
monochromatic
#06180D #0B2A16 #185A2F #258A48 #32BB61

Accessibility & contrast

On white

8.26
#185A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#185A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185A2F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185A2F#FFFFFF#000000##FFFFFF
##185A2F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A522C
Deuteranopia (green-blind)
#524C32
Tritanopia (blue-blind)
#005850
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #185a2f;
/* rgb */ color: rgb(24, 90, 47);
/* oklch */ color: oklch(41.5% 0.097 151.0);
Tailwind
colors: {
  custom: {
    50: '#5f8968',
    500: '#185a2f',
    950: '#000000',
  },
}
SCSS
$custom: #185a2f;
$custom-light: #5f8968;
$custom-dark: #000000;
JSON
{
  "hex": "#185a2f",
  "rgb": {
    "r": 24,
    "g": 90,
    "b": 47
  },
  "hsl": {
    "h": 140.909,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41501,
    "c": 0.09651,
    "h": 151
  },
  "luminance": 0.07712
}

Semantic roles & 50–950 ramp

primary
#185A2F
secondary
#913D74
accent
#47ABE1
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #185A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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