#0C1500#0C1500

#0C1500 is a very dark, muted yellow-green. Relative luminance 0.006; OKLCH L 18.0% C 0.046 H 126.9°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#0C1500
RGBrgb(12, 21, 0)
HSLhsl(86, 100%, 4%)
HSVhsv(86, 100%, 8%)
CMYKcmyk(42.9%, 0%, 100%, 91.8%)
CIE-LABlab(5.55, -6.73, 8.19)
CIE-LCHlch(5.55, 10.60, 129.41°)
OKLaboklab(18% -0.0278 0.0371)
OKLCHoklch(18% 0.046 126.9)
XYZxyz(0.4198, 0.6145, 0.0965)
Luminance0.0061 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1500 #090015
analogous
#151400 #0C1500 #021500
triadic
#0C1500 #000C15 #15000C
tetradic
#0C1500 #001514 #090015 #150002
square
#0C1500 #001514 #090015 #150002
split-complementary
#0C1500 #000215 #140015
monochromatic
#111F00 #111F00 #111F00 #2F5200 #528F00

Accessibility & contrast

On white

18.70
#0C1500 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0C1500 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1500
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1500#FFFFFF#000000##FFFFFF
##0C15001.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171300
Deuteranopia (green-blind)
#161201
Tritanopia (blue-blind)
#0D1310
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0c1500;
/* rgb */ color: rgb(12, 21, 0);
/* oklch */ color: oklch(18.0% 0.046 126.9);
Tailwind
colors: {
  custom: {
    50: '#4c5247',
    500: '#0c1500',
    950: '#000000',
  },
}
SCSS
$custom: #0c1500;
$custom-light: #4c5247;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1500",
  "rgb": {
    "r": 12,
    "g": 21,
    "b": 0
  },
  "hsl": {
    "h": 85.714,
    "s": 100,
    "l": 4.118
  },
  "oklch": {
    "l": 0.17996,
    "c": 0.04637,
    "h": 126.9
  },
  "luminance": 0.00614
}

Semantic roles & 50–950 ramp

primary
#0C1500
secondary
#331160
accent
#29FF85
background
#F4F4F3
surface
#E7E7E5
border
#C3C3C1
text
#010200
muted
#777877

Preview Lab

Preview with #0C1500

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

Preview Lab → · Contrast checker → · Palette generator →

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