#185F2C#185F2C

#185F2C is a dark, moderate green. Relative luminance 0.086; OKLCH L 42.9% C 0.107 H 148.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#185F2C
RGBrgb(24, 95, 44)
HSLhsl(137, 60%, 23%)
HSVhsv(137, 75%, 37%)
CMYKcmyk(74.7%, 0%, 53.7%, 62.7%)
CIE-LABlab(35.12, -33.97, 22.93)
CIE-LCHlch(35.12, 40.99, 145.99°)
OKLaboklab(42.93% -0.0915 0.0556)
OKLCHoklch(42.93% 0.107 148.7)
XYZxyz(4.9231, 8.5599, 3.7752)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185F2C #5F184B
analogous
#275F18 #185F2C #185F4F
triadic
#185F2C #2C185F #5F2C18
tetradic
#185F2C #18275F #5F184B #5F4F18
square
#185F2C #18275F #5F184B #5F4F18
split-complementary
#185F2C #4F185F #5F1827
monochromatic
#06180B #0C2E15 #185F2C #249043 #31C159

Accessibility & contrast

On white

7.74
#185F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #185F2C
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185F2C#FFFFFF#000000##FFFFFF
##185F2C1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605628
Deuteranopia (green-blind)
#575030
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #185f2c;
/* rgb */ color: rgb(24, 95, 44);
/* oklch */ color: oklch(42.9% 0.107 148.7);
Tailwind
colors: {
  custom: {
    50: '#608d66',
    500: '#185f2c',
    950: '#000000',
  },
}
SCSS
$custom: #185f2c;
$custom-light: #608d66;
$custom-dark: #000000;
JSON
{
  "hex": "#185f2c",
  "rgb": {
    "r": 24,
    "g": 95,
    "b": 44
  },
  "hsl": {
    "h": 136.901,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.42928,
    "c": 0.10704,
    "h": 148.7
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#185F2C
secondary
#953D7D
accent
#45B6E3
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #185F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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