#185F2A#185F2A

#185F2A is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.109 H 148.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#185F2A
RGBrgb(24, 95, 42)
HSLhsl(135, 60%, 23%)
HSVhsv(135, 75%, 37%)
CMYKcmyk(74.7%, 0%, 55.8%, 62.7%)
CIE-LABlab(35.09, -34.31, 24.01)
CIE-LCHlch(35.09, 41.88, 145.02°)
OKLaboklab(42.9% -0.0924 0.0579)
OKLCHoklch(42.9% 0.109 148)
XYZxyz(4.8864, 8.5452, 3.5819)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185F2A #5F184D
analogous
#295F18 #185F2A #185F4D
triadic
#185F2A #2A185F #5F2A18
tetradic
#185F2A #18295F #5F184D #5F4D18
square
#185F2A #18295F #5F184D #5F4D18
split-complementary
#185F2A #4D185F #5F1829
monochromatic
#06180B #0C2E14 #185F2A #249040 #31C155

Accessibility & contrast

On white

7.75
#185F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#185F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185F2A
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185F2A#FFFFFF#000000##FFFFFF
##185F2A1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605625
Deuteranopia (green-blind)
#58502E
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #185f2a;
/* rgb */ color: rgb(24, 95, 42);
/* oklch */ color: oklch(42.9% 0.109 148.0);
Tailwind
colors: {
  custom: {
    50: '#608d65',
    500: '#185f2a',
    950: '#000000',
  },
}
SCSS
$custom: #185f2a;
$custom-light: #608d65;
$custom-dark: #000000;
JSON
{
  "hex": "#185f2a",
  "rgb": {
    "r": 24,
    "g": 95,
    "b": 42
  },
  "hsl": {
    "h": 135.211,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.42895,
    "c": 0.10905,
    "h": 148
  },
  "luminance": 0.08546
}

Semantic roles & 50–950 ramp

primary
#185F2A
secondary
#953D7F
accent
#45BBE3
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A

Preview Lab

Preview with #185F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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