#185F2F#185F2F

#185F2F is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.104 H 150.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#185F2F
RGBrgb(24, 95, 47)
HSLhsl(139, 60%, 23%)
HSVhsv(139, 75%, 37%)
CMYKcmyk(74.7%, 0%, 50.5%, 62.7%)
CIE-LABlab(35.17, -33.44, 21.28)
CIE-LCHlch(35.17, 39.64, 147.53°)
OKLaboklab(42.98% -0.09 0.052)
OKLCHoklch(42.98% 0.104 150)
XYZxyz(4.9816, 8.5833, 4.0830)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185F2F #5F1848
analogous
#245F18 #185F2F #185F52
triadic
#185F2F #2F185F #5F2F18
tetradic
#185F2F #18245F #5F1848 #5F5218
square
#185F2F #18245F #5F1848 #5F5218
split-complementary
#185F2F #52185F #5F1824
monochromatic
#06180C #0C2E17 #185F2F #249047 #31C15F

Accessibility & contrast

On white

7.73
#185F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#185F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185F2F
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185F2F#FFFFFF#000000##FFFFFF
##185F2F1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60562B
Deuteranopia (green-blind)
#575032
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #185f2f;
/* rgb */ color: rgb(24, 95, 47);
/* oklch */ color: oklch(43.0% 0.104 150.0);
Tailwind
colors: {
  custom: {
    50: '#608d68',
    500: '#185f2f',
    950: '#000000',
  },
}
SCSS
$custom: #185f2f;
$custom-light: #608d68;
$custom-dark: #000000;
JSON
{
  "hex": "#185f2f",
  "rgb": {
    "r": 24,
    "g": 95,
    "b": 47
  },
  "hsl": {
    "h": 139.437,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.42982,
    "c": 0.10398,
    "h": 150
  },
  "luminance": 0.08584
}

Semantic roles & 50–950 ramp

primary
#185F2F
secondary
#953D79
accent
#45B0E3
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #185F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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