#182012#182012

#182012 is a very dark, muted yellow-green. Relative luminance 0.013; OKLCH L 23.1% C 0.028 H 132.4°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#182012
RGBrgb(24, 32, 18)
HSLhsl(94, 28%, 10%)
HSVhsv(94, 44%, 13%)
CMYKcmyk(25%, 0%, 43.8%, 87.5%)
CIE-LABlab(11.07, -7.03, 8.15)
CIE-LCHlch(11.07, 10.77, 130.79°)
OKLaboklab(23.09% -0.0191 0.0209)
OKLCHoklch(23.09% 0.028 132.4)
XYZxyz(1.0024, 1.2709, 0.7646)
Luminance0.0127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182012 #1A1220
analogous
#1F2012 #182012 #122013
triadic
#182012 #121820 #201218
tetradic
#182012 #121F20 #1A1220 #201312
square
#182012 #121F20 #1A1220 #201312
split-complementary
#182012 #131220 #20121F
monochromatic
#0F140B #0F140B #182012 #354728 #536E3E

Accessibility & contrast

On white

16.74
#182012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#182012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182012
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182012#FFFFFF#000000##FFFFFF
##1820121.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211E11
Deuteranopia (green-blind)
#201D13
Tritanopia (blue-blind)
#181F1C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #182012;
/* rgb */ color: rgb(24, 32, 18);
/* oklch */ color: oklch(23.1% 0.028 132.4);
Tailwind
colors: {
  custom: {
    50: '#545b50',
    500: '#182012',
    950: '#000000',
  },
}
SCSS
$custom: #182012;
$custom-light: #545b50;
$custom-dark: #000000;
JSON
{
  "hex": "#182012",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 94.286,
    "s": 28,
    "l": 9.804
  },
  "oklch": {
    "l": 0.23088,
    "c": 0.02836,
    "h": 132.4
  },
  "luminance": 0.01271
}

Semantic roles & 50–950 ramp

primary
#182012
secondary
#493955
accent
#63C49B
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#030402
muted
#787978

Preview Lab

Preview with #182012

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

Preview Lab → · Contrast checker → · Palette generator →

#182012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva