#185A2D#185A2D

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

Color values

HEX#185A2D
RGBrgb(24, 90, 45)
HSLhsl(139, 58%, 22%)
HSVhsv(139, 73%, 35%)
CMYKcmyk(73.3%, 0%, 50%, 64.7%)
CIE-LABlab(33.34, -31.71, 20.11)
CIE-LCHlch(33.34, 37.55, 147.61°)
OKLaboklab(41.46% -0.0854 0.0492)
OKLCHoklch(41.46% 0.099 150)
XYZxyz(4.5062, 7.6955, 3.7300)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185A2D #5A1845
analogous
#245A18 #185A2D #185A4E
triadic
#185A2D #2D185A #5A2D18
tetradic
#185A2D #18245A #5A1845 #5A4E18
square
#185A2D #18245A #5A1845 #5A4E18
split-complementary
#185A2D #4E185A #5A1824
monochromatic
#06180C #0B2A15 #185A2D #258A45 #32BB5D

Accessibility & contrast

On white

8.27
#185A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #185A2D
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185A2D#FFFFFF#000000##FFFFFF
##185A2D1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5229
Deuteranopia (green-blind)
#524C30
Tritanopia (blue-blind)
#00584F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #185a2d;
/* rgb */ color: rgb(24, 90, 45);
/* oklch */ color: oklch(41.5% 0.099 150.0);
Tailwind
colors: {
  custom: {
    50: '#5f8966',
    500: '#185a2d',
    950: '#000000',
  },
}
SCSS
$custom: #185a2d;
$custom-light: #5f8966;
$custom-dark: #000000;
JSON
{
  "hex": "#185a2d",
  "rgb": {
    "r": 24,
    "g": 90,
    "b": 45
  },
  "hsl": {
    "h": 139.091,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41462,
    "c": 0.09861,
    "h": 150
  },
  "luminance": 0.07696
}

Semantic roles & 50–950 ramp

primary
#185A2D
secondary
#913D76
accent
#47B0E1
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #185A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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