#183D0C#183D0C

#183D0C is a dark, moderate green. Relative luminance 0.036; OKLCH L 32.1% C 0.087 H 139.1°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#183D0C
RGBrgb(24, 61, 12)
HSLhsl(105, 67%, 14%)
HSVhsv(105, 80%, 24%)
CMYKcmyk(60.7%, 0%, 80.3%, 76.1%)
CIE-LABlab(22.15, -23.89, 24.99)
CIE-LCHlch(22.15, 34.57, 133.71°)
OKLaboklab(32.1% -0.0657 0.0569)
OKLCHoklch(32.1% 0.087 139.1)
XYZxyz(2.1117, 3.5581, 0.9233)
Luminance0.0356 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D0C #310C3D
analogous
#313D0C #183D0C #0C3D19
triadic
#183D0C #0C183D #3D0C18
tetradic
#183D0C #0C313D #310C3D #3D190C
square
#183D0C #0C313D #310C3D #3D190C
split-complementary
#183D0C #190C3D #3D0C31
monochromatic
#0A1A05 #0A1A05 #183D0C #2C7016 #40A320

Accessibility & contrast

On white

12.27
#183D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#183D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D0C
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D0C#FFFFFF#000000##FFFFFF
##183D0C1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3705
Deuteranopia (green-blind)
#3A3411
Tritanopia (blue-blind)
#143B33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #183d0c;
/* rgb */ color: rgb(24, 61, 12);
/* oklch */ color: oklch(32.1% 0.087 139.1);
Tailwind
colors: {
  custom: {
    50: '#5a734e',
    500: '#183d0c',
    950: '#000000',
  },
}
SCSS
$custom: #183d0c;
$custom-light: #5a734e;
$custom-dark: #000000;
JSON
{
  "hex": "#183d0c",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 12
  },
  "hsl": {
    "h": 105.306,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.32095,
    "c": 0.08693,
    "h": 139.1
  },
  "luminance": 0.03558
}

Semantic roles & 50–950 ramp

primary
#183D0C
secondary
#662C79
accent
#3EEAC0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #183D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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