#182302#182302

#182302 is a very dark, muted yellow-green. Relative luminance 0.014; OKLCH L 23.7% C 0.057 H 125.8°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#182302
RGBrgb(24, 35, 2)
HSLhsl(80, 89%, 7%)
HSVhsv(80, 94%, 14%)
CMYKcmyk(31.4%, 0%, 94.3%, 86.3%)
CIE-LABlab(11.96, -11.38, 16.68)
CIE-LCHlch(11.96, 20.19, 124.30°)
OKLaboklab(23.72% -0.0331 0.0459)
OKLCHoklch(23.72% 0.057 125.8)
XYZxyz(0.9887, 1.4006, 0.2757)
Luminance0.0140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182302 #0D0223
analogous
#231E02 #182302 #082302
triadic
#182302 #021823 #230218
tetradic
#182302 #02231E #0D0223 #230208
square
#182302 #02231E #0D0223 #230208
split-complementary
#182302 #020823 #1E0223
monochromatic
#141D02 #141D02 #182302 #405D05 #679709

Accessibility & contrast

On white

16.40
#182302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#182302 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182302
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182302#FFFFFF#000000##FFFFFF
##1823021.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262000
Deuteranopia (green-blind)
#241F04
Tritanopia (blue-blind)
#1A211C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #182302;
/* rgb */ color: rgb(24, 35, 2);
/* oklch */ color: oklch(23.7% 0.057 125.8);
Tailwind
colors: {
  custom: {
    50: '#555e47',
    500: '#182302',
    950: '#000000',
  },
}
SCSS
$custom: #182302;
$custom-light: #555e47;
$custom-dark: #000000;
JSON
{
  "hex": "#182302",
  "rgb": {
    "r": 24,
    "g": 35,
    "b": 2
  },
  "hsl": {
    "h": 80,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.2372,
    "c": 0.05654,
    "h": 125.8
  },
  "luminance": 0.01401
}

Semantic roles & 50–950 ramp

primary
#182302
secondary
#331869
accent
#29FF70
background
#F4F5F4
surface
#E8E9E6
border
#C4C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #182302

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

Preview Lab → · Contrast checker → · Palette generator →

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