#185F2E#185F2E

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

Color values

HEX#185F2E
RGBrgb(24, 95, 46)
HSLhsl(139, 60%, 23%)
HSVhsv(139, 75%, 37%)
CMYKcmyk(74.7%, 0%, 51.6%, 62.7%)
CIE-LABlab(35.15, -33.62, 21.83)
CIE-LCHlch(35.15, 40.09, 147.00°)
OKLaboklab(42.96% -0.0905 0.0532)
OKLCHoklch(42.96% 0.105 149.6)
XYZxyz(4.9616, 8.5753, 3.9780)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185F2E #5F1849
analogous
#255F18 #185F2E #185F51
triadic
#185F2E #2E185F #5F2E18
tetradic
#185F2E #18255F #5F1849 #5F5118
square
#185F2E #18255F #5F1849 #5F5118
split-complementary
#185F2E #51185F #5F1825
monochromatic
#06180C #0C2E16 #185F2E #249046 #31C15D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #185f2e;
/* rgb */ color: rgb(24, 95, 46);
/* oklch */ color: oklch(43.0% 0.105 149.6);
Tailwind
colors: {
  custom: {
    50: '#608d67',
    500: '#185f2e',
    950: '#000000',
  },
}
SCSS
$custom: #185f2e;
$custom-light: #608d67;
$custom-dark: #000000;
JSON
{
  "hex": "#185f2e",
  "rgb": {
    "r": 24,
    "g": 95,
    "b": 46
  },
  "hsl": {
    "h": 138.592,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.42964,
    "c": 0.105,
    "h": 149.6
  },
  "luminance": 0.08576
}

Semantic roles & 50–950 ramp

primary
#185F2E
secondary
#953D7A
accent
#45B2E3
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #185F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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