#060802#060802

#060802 is a very dark, near-neutral yellow-green. Relative luminance 0.002; OKLCH L 12.8% C 0.020 H 121.1°. Best body text is #FFFFFF at 20.13:1 contrast (WCAG AA passes).

Color values

HEX#060802
RGBrgb(6, 8, 2)
HSLhsl(80, 60%, 2%)
HSVhsv(80, 75%, 3%)
CMYKcmyk(25%, 0%, 75%, 96.9%)
CIE-LABlab(1.96, -1.36, 2.09)
CIE-LCHlch(1.96, 2.49, 123.07°)
OKLaboklab(12.81% -0.0103 0.017)
OKLCHoklch(12.81% 0.02 121.1)
XYZxyz(0.1729, 0.2168, 0.0902)
Luminance0.0022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060802 #040208
analogous
#080702 #060802 #030802
triadic
#060802 #020608 #080206
tetradic
#060802 #020807 #040208 #080203
square
#060802 #020807 #040208 #080203
split-complementary
#060802 #020308 #070208
monochromatic
#121806 #121806 #121806 #2B390E #4F6A1A

Accessibility & contrast

On white

20.13
#060802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#060802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060802
20.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060802#FFFFFF#000000##FFFFFF
##0608021.0020.131.0420.13
#FFFFFF20.131.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090702
Deuteranopia (green-blind)
#090702
Tritanopia (blue-blind)
#070706
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #060802;
/* rgb */ color: rgb(6, 8, 2);
/* oklch */ color: oklch(12.8% 0.020 121.1);
Tailwind
colors: {
  custom: {
    50: '#494a48',
    500: '#060802',
    950: '#000000',
  },
}
SCSS
$custom: #060802;
$custom-light: #494a48;
$custom-dark: #000000;
JSON
{
  "hex": "#060802",
  "rgb": {
    "r": 6,
    "g": 8,
    "b": 2
  },
  "hsl": {
    "h": 80,
    "s": 60,
    "l": 1.961
  },
  "oklch": {
    "l": 0.12814,
    "c": 0.0199,
    "h": 121.1
  },
  "luminance": 0.00217
}

Semantic roles & 50–950 ramp

primary
#060802
secondary
#2C1E48
accent
#45E379
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000100
muted
#777777

Preview Lab

Preview with #060802

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

Preview Lab → · Contrast checker → · Palette generator →

#060802 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva