#060C02#060C02

#060C02 is a very dark, muted yellow-green. Relative luminance 0.003; OKLCH L 14.3% C 0.029 H 130.7°. Best body text is #FFFFFF at 19.79:1 contrast (WCAG AA passes).

Color values

HEX#060C02
RGBrgb(6, 12, 2)
HSLhsl(96, 71%, 3%)
HSVhsv(96, 83%, 5%)
CMYKcmyk(50%, 0%, 83.3%, 95.3%)
CIE-LABlab(2.76, -3.00, 3.26)
CIE-LCHlch(2.76, 4.44, 132.63°)
OKLaboklab(14.29% -0.0187 0.0218)
OKLCHoklch(14.29% 0.029 130.7)
XYZxyz(0.2175, 0.3060, 0.1050)
Luminance0.0031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060C02 #08020C
analogous
#0B0C02 #060C02 #020C03
triadic
#060C02 #02060C #0C0206
tetradic
#060C02 #020B0C #08020C #0C0302
square
#060C02 #020B0C #08020C #0C0302
split-complementary
#060C02 #03020C #0C020B
monochromatic
#0D1A04 #0D1A04 #0D1A04 #20400B #3A7513

Accessibility & contrast

On white

19.79
#060C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#060C02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060C02
19.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060C02#FFFFFF#000000##FFFFFF
##060C021.0019.791.0619.79
#FFFFFF19.791.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0A01
Deuteranopia (green-blind)
#0C0A02
Tritanopia (blue-blind)
#060B09
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #060c02;
/* rgb */ color: rgb(6, 12, 2);
/* oklch */ color: oklch(14.3% 0.029 130.7);
Tailwind
colors: {
  custom: {
    50: '#494c47',
    500: '#060c02',
    950: '#000000',
  },
}
SCSS
$custom: #060c02;
$custom-light: #494c47;
$custom-dark: #000000;
JSON
{
  "hex": "#060c02",
  "rgb": {
    "r": 6,
    "g": 12,
    "b": 2
  },
  "hsl": {
    "h": 96,
    "s": 71.429,
    "l": 2.745
  },
  "oklch": {
    "l": 0.14289,
    "c": 0.02872,
    "h": 130.7
  },
  "luminance": 0.00306
}

Semantic roles & 50–950 ramp

primary
#060C02
secondary
#3A1A4F
accent
#3AEEA6
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000100
muted
#777777

Preview Lab

Preview with #060C02

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

Preview Lab → · Contrast checker → · Palette generator →

#060C02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva