#090802#090802

#090802 is a very dark, near-neutral yellow. Relative luminance 0.002; OKLCH L 13.3% C 0.019 H 102.8°. Best body text is #FFFFFF at 20.05:1 contrast (WCAG AA passes).

Color values

HEX#090802
RGBrgb(9, 8, 2)
HSLhsl(51, 64%, 2%)
HSVhsv(51, 78%, 4%)
CMYKcmyk(0%, 11.1%, 77.8%, 96.5%)
CIE-LABlab(2.13, -0.57, 2.36)
CIE-LCHlch(2.13, 2.43, 103.56°)
OKLaboklab(13.27% -0.0042 0.0183)
OKLCHoklch(13.27% 0.019 102.8)
XYZxyz(0.2105, 0.2361, 0.0919)
Luminance0.0024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090802 #020309
analogous
#090502 #090802 #070902
triadic
#090802 #020908 #080209
tetradic
#090802 #020905 #020309 #090207
square
#090802 #020905 #020309 #090207
split-complementary
#090802 #020709 #050209
monochromatic
#191606 #191606 #191606 #3B350D #6D6118

Accessibility & contrast

On white

20.05
#090802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#090802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #090802
20.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090802#FFFFFF#000000##FFFFFF
##0908021.0020.051.0520.05
#FFFFFF20.051.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090802
Deuteranopia (green-blind)
#0A0802
Tritanopia (blue-blind)
#0A0706
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #090802;
/* rgb */ color: rgb(9, 8, 2);
/* oklch */ color: oklch(13.3% 0.019 102.8);
Tailwind
colors: {
  custom: {
    50: '#4b4a48',
    500: '#090802',
    950: '#000000',
  },
}
SCSS
$custom: #090802;
$custom-light: #4b4a48;
$custom-dark: #000000;
JSON
{
  "hex": "#090802",
  "rgb": {
    "r": 9,
    "g": 8,
    "b": 2
  },
  "hsl": {
    "h": 51.429,
    "s": 63.636,
    "l": 2.157
  },
  "oklch": {
    "l": 0.13267,
    "c": 0.01881,
    "h": 102.8
  },
  "luminance": 0.00236
}

Semantic roles & 50–950 ramp

primary
#090802
secondary
#1D234A
accent
#59E741
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#010100
muted
#777777

Preview Lab

Preview with #090802

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

Preview Lab → · Contrast checker → · Palette generator →

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