#0A1200#0A1200

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

Color values

HEX#0A1200
RGBrgb(10, 18, 0)
HSLhsl(87, 100%, 4%)
HSVhsv(87, 100%, 7%)
CMYKcmyk(44.4%, 0%, 100%, 92.9%)
CIE-LABlab(4.49, -5.37, 6.63)
CIE-LCHlch(4.49, 8.53, 129.00°)
OKLaboklab(16.77% -0.0256 0.0346)
OKLCHoklch(16.77% 0.043 126.5)
XYZxyz(0.3415, 0.4971, 0.0780)
Luminance0.0050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1200 #080012
analogous
#121100 #0A1200 #011200
triadic
#0A1200 #000A12 #12000A
tetradic
#0A1200 #001211 #080012 #120001
square
#0A1200 #001211 #080012 #120001
split-complementary
#0A1200 #000112 #110012
monochromatic
#111F00 #111F00 #111F00 #2C4F00 #4E8C00

Accessibility & contrast

On white

19.10
#0A1200 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A1200
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1200#FFFFFF#000000##FFFFFF
##0A12001.0019.101.1019.10
#FFFFFF19.101.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141000
Deuteranopia (green-blind)
#130F01
Tritanopia (blue-blind)
#0B110D
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0a1200;
/* rgb */ color: rgb(10, 18, 0);
/* oklch */ color: oklch(16.8% 0.043 126.5);
Tailwind
colors: {
  custom: {
    50: '#4b4f47',
    500: '#0a1200',
    950: '#000000',
  },
}
SCSS
$custom: #0a1200;
$custom-light: #4b4f47;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1200",
  "rgb": {
    "r": 10,
    "g": 18,
    "b": 0
  },
  "hsl": {
    "h": 86.667,
    "s": 100,
    "l": 3.529
  },
  "oklch": {
    "l": 0.16773,
    "c": 0.04299,
    "h": 126.5
  },
  "luminance": 0.00497
}

Semantic roles & 50–950 ramp

primary
#0A1200
secondary
#33105D
accent
#29FF88
background
#F4F4F3
surface
#E7E7E5
border
#C3C3C1
text
#010200
muted
#777877

Preview Lab

Preview with #0A1200

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

Preview Lab → · Contrast checker → · Palette generator →

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