#0C1602#0C1602

#0C1602 is a very dark, muted yellow-green. Relative luminance 0.007; OKLCH L 18.4% C 0.043 H 129.8°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#0C1602
RGBrgb(12, 22, 2)
HSLhsl(90, 83%, 5%)
HSVhsv(90, 91%, 9%)
CMYKcmyk(45.5%, 0%, 90.9%, 91.4%)
CIE-LABlab(5.93, -7.14, 7.93)
CIE-LCHlch(5.93, 10.67, 132.02°)
OKLaboklab(18.4% -0.0275 0.0331)
OKLCHoklch(18.4% 0.043 129.8)
XYZxyz(0.4495, 0.6564, 0.1604)
Luminance0.0066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1602 #0C0216
analogous
#161602 #0C1602 #021602
triadic
#0C1602 #020C16 #16020C
tetradic
#0C1602 #021616 #0C0216 #160202
square
#0C1602 #021616 #0C0216 #160202
split-complementary
#0C1602 #020216 #160216
monochromatic
#0F1C03 #0F1C03 #0F1C03 #2B4E07 #49860C

Accessibility & contrast

On white

18.56
#0C1602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0C1602 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1602
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1602#FFFFFF#000000##FFFFFF
##0C16021.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181401
Deuteranopia (green-blind)
#161303
Tritanopia (blue-blind)
#0D1511
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0c1602;
/* rgb */ color: rgb(12, 22, 2);
/* oklch */ color: oklch(18.4% 0.043 129.8);
Tailwind
colors: {
  custom: {
    50: '#4c5247',
    500: '#0c1602',
    950: '#000000',
  },
}
SCSS
$custom: #0c1602;
$custom-light: #4c5247;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1602",
  "rgb": {
    "r": 12,
    "g": 22,
    "b": 2
  },
  "hsl": {
    "h": 90,
    "s": 83.333,
    "l": 4.706
  },
  "oklch": {
    "l": 0.18395,
    "c": 0.04303,
    "h": 129.8
  },
  "luminance": 0.00656
}

Semantic roles & 50–950 ramp

primary
#0C1602
secondary
#3A185C
accent
#2EFA94
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#010200
muted
#777877

Preview Lab

Preview with #0C1602

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

Preview Lab → · Contrast checker → · Palette generator →

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