#185A2E#185A2E

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

Color values

HEX#185A2E
RGBrgb(24, 90, 46)
HSLhsl(140, 58%, 22%)
HSVhsv(140, 73%, 35%)
CMYKcmyk(73.3%, 0%, 48.9%, 64.7%)
CIE-LABlab(33.36, -31.52, 19.55)
CIE-LCHlch(33.36, 37.09, 148.19°)
OKLaboklab(41.48% -0.0849 0.048)
OKLCHoklch(41.48% 0.098 150.5)
XYZxyz(4.5256, 7.7033, 3.8326)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185A2E #5A1844
analogous
#235A18 #185A2E #185A4F
triadic
#185A2E #2E185A #5A2E18
tetradic
#185A2E #18235A #5A1844 #5A4F18
square
#185A2E #18235A #5A1844 #5A4F18
split-complementary
#185A2E #4F185A #5A1823
monochromatic
#06180C #0B2A15 #185A2E #258A47 #32BB5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##185A2E#FFFFFF#000000##FFFFFF
##185A2E1.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)
#5A522B
Deuteranopia (green-blind)
#524C31
Tritanopia (blue-blind)
#00584F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #185a2e;
/* rgb */ color: rgb(24, 90, 46);
/* oklch */ color: oklch(41.5% 0.098 150.5);
Tailwind
colors: {
  custom: {
    50: '#5f8967',
    500: '#185a2e',
    950: '#000000',
  },
}
SCSS
$custom: #185a2e;
$custom-light: #5f8967;
$custom-dark: #000000;
JSON
{
  "hex": "#185a2e",
  "rgb": {
    "r": 24,
    "g": 90,
    "b": 46
  },
  "hsl": {
    "h": 140,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41481,
    "c": 0.09757,
    "h": 150.5
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

primary
#185A2E
secondary
#913D75
accent
#47AEE1
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #185A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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