#185C2F#185C2F

#185C2F is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.100 H 150.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#185C2F
RGBrgb(24, 92, 47)
HSLhsl(140, 59%, 23%)
HSVhsv(140, 74%, 36%)
CMYKcmyk(73.9%, 0%, 48.9%, 63.9%)
CIE-LABlab(34.09, -32.18, 19.91)
CIE-LCHlch(34.09, 37.84, 148.25°)
OKLaboklab(42.09% -0.0867 0.0489)
OKLCHoklch(42.09% 0.1 150.6)
XYZxyz(4.7165, 8.0532, 3.9946)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185C2F #5C1845
analogous
#235C18 #185C2F #185C51
triadic
#185C2F #2F185C #5C2F18
tetradic
#185C2F #18235C #5C1845 #5C5118
square
#185C2F #18235C #5C1845 #5C5118
split-complementary
#185C2F #51185C #5C1823
monochromatic
#06180C #0B2B16 #185C2F #258D48 #31BD61

Accessibility & contrast

On white

8.04
#185C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#185C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185C2F
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185C2F#FFFFFF#000000##FFFFFF
##185C2F1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C542C
Deuteranopia (green-blind)
#544E32
Tritanopia (blue-blind)
#005A51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #185c2f;
/* rgb */ color: rgb(24, 92, 47);
/* oklch */ color: oklch(42.1% 0.100 150.6);
Tailwind
colors: {
  custom: {
    50: '#5f8b68',
    500: '#185c2f',
    950: '#000000',
  },
}
SCSS
$custom: #185c2f;
$custom-light: #5f8b68;
$custom-dark: #000000;
JSON
{
  "hex": "#185c2f",
  "rgb": {
    "r": 24,
    "g": 92,
    "b": 47
  },
  "hsl": {
    "h": 140.294,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42094,
    "c": 0.09952,
    "h": 150.6
  },
  "luminance": 0.08054
}

Semantic roles & 50–950 ramp

primary
#185C2F
secondary
#933D76
accent
#46ADE2
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #185C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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