#185F2D#185F2D

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

Color values

HEX#185F2D
RGBrgb(24, 95, 45)
HSLhsl(138, 60%, 23%)
HSVhsv(138, 75%, 37%)
CMYKcmyk(74.7%, 0%, 52.6%, 62.7%)
CIE-LABlab(35.14, -33.80, 22.38)
CIE-LCHlch(35.14, 40.54, 146.49°)
OKLaboklab(42.95% -0.091 0.0544)
OKLCHoklch(42.95% 0.106 149.1)
XYZxyz(4.9422, 8.5675, 3.8754)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185F2D #5F184A
analogous
#265F18 #185F2D #185F50
triadic
#185F2D #2D185F #5F2D18
tetradic
#185F2D #18265F #5F184A #5F5018
square
#185F2D #18265F #5F184A #5F5018
split-complementary
#185F2D #50185F #5F1826
monochromatic
#06180C #0C2E16 #185F2D #249044 #31C15B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##185F2D#FFFFFF#000000##FFFFFF
##185F2D1.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)
#605629
Deuteranopia (green-blind)
#575031
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #185f2d;
/* rgb */ color: rgb(24, 95, 45);
/* oklch */ color: oklch(42.9% 0.106 149.1);
Tailwind
colors: {
  custom: {
    50: '#608d67',
    500: '#185f2d',
    950: '#000000',
  },
}
SCSS
$custom: #185f2d;
$custom-light: #608d67;
$custom-dark: #000000;
JSON
{
  "hex": "#185f2d",
  "rgb": {
    "r": 24,
    "g": 95,
    "b": 45
  },
  "hsl": {
    "h": 137.746,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.42946,
    "c": 0.10602,
    "h": 149.1
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#185F2D
secondary
#953D7B
accent
#45B4E3
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #185F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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