#070702#070702

#070702 is a very dark, near-neutral yellow. Relative luminance 0.002; OKLCH L 12.6% C 0.017 H 108.6°. Best body text is #FFFFFF at 20.18:1 contrast (WCAG AA passes).

Color values

HEX#070702
RGBrgb(7, 7, 2)
HSLhsl(60, 56%, 2%)
HSVhsv(60, 71%, 3%)
CMYKcmyk(0%, 0%, 71.4%, 97.3%)
CIE-LABlab(1.82, -0.69, 1.89)
CIE-LCHlch(1.82, 2.02, 110.12°)
OKLaboklab(12.56% -0.0054 0.0161)
OKLCHoklch(12.56% 0.017 108.6)
XYZxyz(0.1746, 0.2015, 0.0871)
Luminance0.0020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070702 #020207
analogous
#070502 #070702 #050702
triadic
#070702 #020707 #070207
tetradic
#070702 #020705 #020207 #070205
square
#070702 #020705 #020207 #070205
split-complementary
#070702 #020507 #050207
monochromatic
#181807 #181807 #181807 #373710 #66661D

Accessibility & contrast

On white

20.18
#070702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070702
20.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070702#FFFFFF#000000##FFFFFF
##0707021.0020.181.0420.18
#FFFFFF20.181.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080702
Deuteranopia (green-blind)
#080702
Tritanopia (blue-blind)
#080605
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #070702;
/* rgb */ color: rgb(7, 7, 2);
/* oklch */ color: oklch(12.6% 0.017 108.6);
Tailwind
colors: {
  custom: {
    50: '#4a4a48',
    500: '#070702',
    950: '#000000',
  },
}
SCSS
$custom: #070702;
$custom-light: #4a4a48;
$custom-dark: #000000;
JSON
{
  "hex": "#070702",
  "rgb": {
    "r": 7,
    "g": 7,
    "b": 2
  },
  "hsl": {
    "h": 60,
    "s": 55.556,
    "l": 1.765
  },
  "oklch": {
    "l": 0.12564,
    "c": 0.01699,
    "h": 108.6
  },
  "luminance": 0.00202
}

Semantic roles & 50–950 ramp

primary
#070702
secondary
#1F1F46
accent
#49DF49
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#010100
muted
#777777

Preview Lab

Preview with #070702

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

Preview Lab → · Contrast checker → · Palette generator →

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