#185E1F#185E1F

#185E1F is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.118 H 144.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#185E1F
RGBrgb(24, 94, 31)
HSLhsl(126, 59%, 23%)
HSVhsv(126, 74%, 37%)
CMYKcmyk(74.5%, 0%, 67%, 63.1%)
CIE-LABlab(34.60, -35.53, 29.25)
CIE-LCHlch(34.60, 46.02, 140.54°)
OKLaboklab(42.44% -0.0961 0.0683)
OKLCHoklch(42.44% 0.118 144.6)
XYZxyz(4.6264, 8.2980, 2.6539)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185E1F #5E1857
analogous
#345E18 #185E1F #185E42
triadic
#185E1F #1F185E #5E1F18
tetradic
#185E1F #18345E #5E1857 #5E4218
square
#185E1F #18345E #5E1857 #5E4218
split-complementary
#185E1F #42185E #5E1834
monochromatic
#061808 #0C2D0F #185E1F #248F2F #31C03F

Accessibility & contrast

On white

7.90
#185E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#185E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185E1F
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185E1F#FFFFFF#000000##FFFFFF
##185E1F1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605518
Deuteranopia (green-blind)
#584F24
Tritanopia (blue-blind)
#015B51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #185e1f;
/* rgb */ color: rgb(24, 94, 31);
/* oklch */ color: oklch(42.4% 0.118 144.6);
Tailwind
colors: {
  custom: {
    50: '#608c5d',
    500: '#185e1f',
    950: '#000000',
  },
}
SCSS
$custom: #185e1f;
$custom-light: #608c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#185e1f",
  "rgb": {
    "r": 24,
    "g": 94,
    "b": 31
  },
  "hsl": {
    "h": 126,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42439,
    "c": 0.11791,
    "h": 144.6
  },
  "luminance": 0.08299
}

Semantic roles & 50–950 ramp

primary
#185E1F
secondary
#943D8C
accent
#45D3E3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #185E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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