#183A0C#183A0C

#183A0C is a dark, moderate green. Relative luminance 0.032; OKLCH L 31.2% C 0.082 H 138.7°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#183A0C
RGBrgb(24, 58, 12)
HSLhsl(104, 66%, 14%)
HSVhsv(104, 79%, 23%)
CMYKcmyk(58.6%, 0%, 79.3%, 77.3%)
CIE-LABlab(21.01, -22.49, 23.75)
CIE-LCHlch(21.01, 32.71, 133.44°)
OKLaboklab(31.15% -0.062 0.0544)
OKLCHoklch(31.15% 0.082 138.7)
XYZxyz(1.9560, 3.2467, 0.8714)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A0C #2E0C3A
analogous
#2F3A0C #183A0C #0C3A17
triadic
#183A0C #0C183A #3A0C18
tetradic
#183A0C #0C2F3A #2E0C3A #3A170C
square
#183A0C #0C2F3A #2E0C3A #3A170C
split-complementary
#183A0C #170C3A #3A0C2F
monochromatic
#0A1905 #0A1905 #183A0C #2D6D16 #429F21

Accessibility & contrast

On white

12.73
#183A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#183A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A0C
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A0C#FFFFFF#000000##FFFFFF
##183A0C1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3406
Deuteranopia (green-blind)
#383110
Tritanopia (blue-blind)
#153831
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #183a0c;
/* rgb */ color: rgb(24, 58, 12);
/* oklch */ color: oklch(31.2% 0.082 138.7);
Tailwind
colors: {
  custom: {
    50: '#59704e',
    500: '#183a0c',
    950: '#000000',
  },
}
SCSS
$custom: #183a0c;
$custom-light: #59704e;
$custom-dark: #000000;
JSON
{
  "hex": "#183a0c",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 12
  },
  "hsl": {
    "h": 104.348,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31151,
    "c": 0.08243,
    "h": 138.7
  },
  "luminance": 0.03247
}

Semantic roles & 50–950 ramp

primary
#183A0C
secondary
#632C76
accent
#3FE9BC
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #183A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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