#185A1F#185A1F

#185A1F is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.112 H 144.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#185A1F
RGBrgb(24, 90, 31)
HSLhsl(126, 58%, 22%)
HSVhsv(126, 73%, 35%)
CMYKcmyk(73.3%, 0%, 65.6%, 64.7%)
CIE-LABlab(33.15, -33.95, 27.60)
CIE-LCHlch(33.15, 43.76, 140.89°)
OKLaboklab(41.24% -0.0918 0.0648)
OKLCHoklch(41.24% 0.112 144.8)
XYZxyz(4.2799, 7.6050, 2.5384)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185A1F #5A1853
analogous
#325A18 #185A1F #185A40
triadic
#185A1F #1F185A #5A1F18
tetradic
#185A1F #18325A #5A1853 #5A4018
square
#185A1F #18325A #5A1853 #5A4018
split-complementary
#185A1F #40185A #5A1832
monochromatic
#061808 #0B2A0E #185A1F #258A30 #32BB40

Accessibility & contrast

On white

8.33
#185A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#185A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185A1F
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185A1F#FFFFFF#000000##FFFFFF
##185A1F1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5119
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#04584D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #185a1f;
/* rgb */ color: rgb(24, 90, 31);
/* oklch */ color: oklch(41.2% 0.112 144.8);
Tailwind
colors: {
  custom: {
    50: '#5f895d',
    500: '#185a1f',
    950: '#000000',
  },
}
SCSS
$custom: #185a1f;
$custom-light: #5f895d;
$custom-dark: #000000;
JSON
{
  "hex": "#185a1f",
  "rgb": {
    "r": 24,
    "g": 90,
    "b": 31
  },
  "hsl": {
    "h": 126.364,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41238,
    "c": 0.11239,
    "h": 144.8
  },
  "luminance": 0.07605
}

Semantic roles & 50–950 ramp

primary
#185A1F
secondary
#913D88
accent
#47D1E1
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #185A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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