#0A1202#0A1202

#0A1202 is a very dark, muted yellow-green. Relative luminance 0.005; OKLCH L 16.8% C 0.037 H 128.8°. Best body text is #FFFFFF at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#0A1202
RGBrgb(10, 18, 2)
HSLhsl(90, 80%, 4%)
HSVhsv(90, 89%, 7%)
CMYKcmyk(44.4%, 0%, 88.9%, 92.9%)
CIE-LABlab(4.53, -5.09, 5.87)
CIE-LCHlch(4.53, 7.77, 130.93°)
OKLaboklab(16.84% -0.0233 0.029)
OKLCHoklch(16.84% 0.037 128.8)
XYZxyz(0.3524, 0.5015, 0.1357)
Luminance0.0050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1202 #0A0212
analogous
#121202 #0A1202 #021202
triadic
#0A1202 #020A12 #12020A
tetradic
#0A1202 #021212 #0A0212 #120202
square
#0A1202 #021212 #0A0212 #120202
split-complementary
#0A1202 #020212 #120212
monochromatic
#0F1C03 #0F1C03 #0F1C03 #294908 #47800E

Accessibility & contrast

On white

19.08
#0A1202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0A1202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1202
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1202#FFFFFF#000000##FFFFFF
##0A12021.0019.081.1019.08
#FFFFFF19.081.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131001
Deuteranopia (green-blind)
#120F03
Tritanopia (blue-blind)
#0B110E
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0a1202;
/* rgb */ color: rgb(10, 18, 2);
/* oklch */ color: oklch(16.8% 0.037 128.8);
Tailwind
colors: {
  custom: {
    50: '#4b4f47',
    500: '#0a1202',
    950: '#000000',
  },
}
SCSS
$custom: #0a1202;
$custom-light: #4b4f47;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1202",
  "rgb": {
    "r": 10,
    "g": 18,
    "b": 2
  },
  "hsl": {
    "h": 90,
    "s": 80,
    "l": 3.922
  },
  "oklch": {
    "l": 0.16838,
    "c": 0.03716,
    "h": 128.8
  },
  "luminance": 0.00502
}

Semantic roles & 50–950 ramp

primary
#0A1202
secondary
#381957
accent
#31F694
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#010200
muted
#777877

Preview Lab

Preview with #0A1202

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

Preview Lab → · Contrast checker → · Palette generator →

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