#0A0A02#0A0A02

#0A0A02 is a very dark, muted yellow. Relative luminance 0.003; OKLCH L 14.1% C 0.022 H 108.9°. Best body text is #FFFFFF at 19.86:1 contrast (WCAG AA passes).

Color values

HEX#0A0A02
RGBrgb(10, 10, 2)
HSLhsl(60, 67%, 2%)
HSVhsv(60, 80%, 4%)
CMYKcmyk(0%, 0%, 80%, 96.1%)
CIE-LABlab(2.58, -1.11, 3.03)
CIE-LCHlch(2.58, 3.23, 110.16°)
OKLaboklab(14.11% -0.0072 0.021)
OKLCHoklch(14.11% 0.022 108.9)
XYZxyz(0.2447, 0.2860, 0.0997)
Luminance0.0029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0A02 #02020A
analogous
#0A0602 #0A0A02 #060A02
triadic
#0A0A02 #020A0A #0A020A
tetradic
#0A0A02 #020A06 #02020A #0A0206
square
#0A0A02 #020A06 #02020A #0A0206
split-complementary
#0A0A02 #02060A #06020A
monochromatic
#1A1A05 #1A1A05 #1A1A05 #3D3D0C #707016

Accessibility & contrast

On white

19.86
#0A0A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#0A0A02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0A02
19.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0A02#FFFFFF#000000##FFFFFF
##0A0A021.0019.861.0619.86
#FFFFFF19.861.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0902
Deuteranopia (green-blind)
#0C0A02
Tritanopia (blue-blind)
#0B0908
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #0a0a02;
/* rgb */ color: rgb(10, 10, 2);
/* oklch */ color: oklch(14.1% 0.022 108.9);
Tailwind
colors: {
  custom: {
    50: '#4b4b48',
    500: '#0a0a02',
    950: '#000000',
  },
}
SCSS
$custom: #0a0a02;
$custom-light: #4b4b48;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0a02",
  "rgb": {
    "r": 10,
    "g": 10,
    "b": 2
  },
  "hsl": {
    "h": 60,
    "s": 66.667,
    "l": 2.353
  },
  "oklch": {
    "l": 0.1411,
    "c": 0.02221,
    "h": 108.9
  },
  "luminance": 0.00286
}

Semantic roles & 50–950 ramp

primary
#0A0A02
secondary
#1C1C4C
accent
#3EEA3E
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#010100
muted
#777777

Preview Lab

Preview with #0A0A02

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

Preview Lab → · Contrast checker → · Palette generator →

#0A0A02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva