#183A1F#183A1F

#183A1F is a dark, moderate green. Relative luminance 0.033; OKLCH L 31.5% C 0.062 H 148.5°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#183A1F
RGBrgb(24, 58, 31)
HSLhsl(132, 41%, 16%)
HSVhsv(132, 59%, 23%)
CMYKcmyk(58.6%, 0%, 46.6%, 77.3%)
CIE-LABlab(21.28, -19.57, 13.10)
CIE-LCHlch(21.28, 23.55, 146.20°)
OKLaboklab(31.46% -0.0531 0.0325)
OKLCHoklch(31.46% 0.062 148.5)
XYZxyz(2.1369, 3.3191, 1.8241)
Luminance0.0332 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A1F #3A1833
analogous
#223A18 #183A1F #183A30
triadic
#183A1F #1F183A #3A1F18
tetradic
#183A1F #18223A #3A1833 #3A3018
square
#183A1F #18223A #3A1833 #3A3018
split-complementary
#183A1F #30183A #3A1822
monochromatic
#09160C #09160C #183A1F #2A6536 #3C914D

Accessibility & contrast

On white

12.62
#183A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#183A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A1F
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A1F#FFFFFF#000000##FFFFFF
##183A1F1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B351D
Deuteranopia (green-blind)
#363221
Tritanopia (blue-blind)
#113933
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #183a1f;
/* rgb */ color: rgb(24, 58, 31);
/* oklch */ color: oklch(31.5% 0.062 148.5);
Tailwind
colors: {
  custom: {
    50: '#58705b',
    500: '#183a1f',
    950: '#000000',
  },
}
SCSS
$custom: #183a1f;
$custom-light: #58705b;
$custom-dark: #000000;
JSON
{
  "hex": "#183a1f",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 31
  },
  "hsl": {
    "h": 132.353,
    "s": 41.463,
    "l": 16.078
  },
  "oklch": {
    "l": 0.31464,
    "c": 0.06223,
    "h": 148.5
  },
  "luminance": 0.03319
}

Semantic roles & 50–950 ramp

primary
#183A1F
secondary
#703E66
accent
#57B8D1
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030704
muted
#787A79

Preview Lab

Preview with #183A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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