#182A12#182A12

#182A12 is a dark, muted green. Relative luminance 0.019; OKLCH L 26.2% C 0.049 H 138.3°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#182A12
RGBrgb(24, 42, 18)
HSLhsl(105, 40%, 12%)
HSVhsv(105, 57%, 16%)
CMYKcmyk(42.9%, 0%, 57.1%, 83.5%)
CIE-LABlab(14.92, -13.28, 13.30)
CIE-LCHlch(14.92, 18.79, 134.95°)
OKLaboklab(26.2% -0.0364 0.0324)
OKLCHoklch(26.2% 0.049 138.3)
XYZxyz(1.3138, 1.8937, 0.8685)
Luminance0.0189 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A12 #24122A
analogous
#242A12 #182A12 #122A18
triadic
#182A12 #12182A #2A1218
tetradic
#182A12 #12242A #24122A #2A1812
square
#182A12 #12242A #24122A #2A1812
split-complementary
#182A12 #18122A #2A1224
monochromatic
#0C1509 #0C1509 #182A12 #305524 #498037

Accessibility & contrast

On white

15.23
#182A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#182A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A12
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A12#FFFFFF#000000##FFFFFF
##182A121.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2710
Deuteranopia (green-blind)
#292513
Tritanopia (blue-blind)
#172924
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #182a12;
/* rgb */ color: rgb(24, 42, 18);
/* oklch */ color: oklch(26.2% 0.049 138.3);
Tailwind
colors: {
  custom: {
    50: '#566350',
    500: '#182a12',
    950: '#000000',
  },
}
SCSS
$custom: #182a12;
$custom-light: #566350;
$custom-dark: #000000;
JSON
{
  "hex": "#182a12",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 18
  },
  "hsl": {
    "h": 105,
    "s": 40,
    "l": 11.765
  },
  "oklch": {
    "l": 0.26197,
    "c": 0.04874,
    "h": 138.3
  },
  "luminance": 0.01894
}

Semantic roles & 50–950 ramp

primary
#182A12
secondary
#573761
accent
#58D0B2
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#030502
muted
#787978

Preview Lab

Preview with #182A12

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

Preview Lab → · Contrast checker → · Palette generator →

#182A12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva