#182002#182002

#182002 is a very dark, muted yellow-green. Relative luminance 0.012; OKLCH L 22.8% C 0.052 H 122.7°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#182002
RGBrgb(24, 32, 2)
HSLhsl(76, 88%, 7%)
HSVhsv(76, 94%, 13%)
CMYKcmyk(25%, 0%, 93.8%, 87.5%)
CIE-LABlab(10.79, -9.52, 15.06)
CIE-LCHlch(10.79, 17.82, 122.31°)
OKLaboklab(22.77% -0.028 0.0436)
OKLCHoklch(22.77% 0.052 122.7)
XYZxyz(0.9042, 1.2316, 0.2475)
Luminance0.0123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182002 #0A0220
analogous
#201902 #182002 #092002
triadic
#182002 #021820 #200218
tetradic
#182002 #022019 #0A0220 #200209
square
#182002 #022019 #0A0220 #200209
split-complementary
#182002 #020920 #190220
monochromatic
#161D02 #161D02 #182002 #435A06 #6E9309

Accessibility & contrast

On white

16.85
#182002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182002
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182002#FFFFFF#000000##FFFFFF
##1820021.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231D00
Deuteranopia (green-blind)
#221D04
Tritanopia (blue-blind)
#1A1E1A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #182002;
/* rgb */ color: rgb(24, 32, 2);
/* oklch */ color: oklch(22.8% 0.052 122.7);
Tailwind
colors: {
  custom: {
    50: '#545b47',
    500: '#182002',
    950: '#000000',
  },
}
SCSS
$custom: #182002;
$custom-light: #545b47;
$custom-dark: #000000;
JSON
{
  "hex": "#182002",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 2
  },
  "hsl": {
    "h": 76,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.2277,
    "c": 0.05184,
    "h": 122.7
  },
  "luminance": 0.01232
}

Semantic roles & 50–950 ramp

primary
#182002
secondary
#2D1866
accent
#29FE62
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #182002

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

Preview Lab → · Contrast checker → · Palette generator →

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