#080702#080702

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

Color values

HEX#080702
RGBrgb(8, 7, 2)
HSLhsl(50, 60%, 2%)
HSVhsv(50, 75%, 3%)
CMYKcmyk(0%, 12.5%, 75%, 96.9%)
CIE-LABlab(1.88, -0.43, 1.99)
CIE-LCHlch(1.88, 2.03, 102.34°)
OKLaboklab(12.72% -0.0033 0.0166)
OKLCHoklch(12.72% 0.017 101.4)
XYZxyz(0.1871, 0.2080, 0.0877)
Luminance0.0021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080702 #020308
analogous
#080402 #080702 #060802
triadic
#080702 #020807 #070208
tetradic
#080702 #020804 #020308 #080206
square
#080702 #020804 #020308 #080206
split-complementary
#080702 #020608 #040208
monochromatic
#181506 #181506 #181506 #39320E #6A5D1A

Accessibility & contrast

On white

20.16
#080702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080702
20.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080702#FFFFFF#000000##FFFFFF
##0807021.0020.161.0420.16
#FFFFFF20.161.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #080702;
/* rgb */ color: rgb(8, 7, 2);
/* oklch */ color: oklch(12.7% 0.017 101.4);
Tailwind
colors: {
  custom: {
    50: '#4a4a48',
    500: '#080702',
    950: '#000000',
  },
}
SCSS
$custom: #080702;
$custom-light: #4a4a48;
$custom-dark: #000000;
JSON
{
  "hex": "#080702",
  "rgb": {
    "r": 8,
    "g": 7,
    "b": 2
  },
  "hsl": {
    "h": 50,
    "s": 60,
    "l": 1.961
  },
  "oklch": {
    "l": 0.12724,
    "c": 0.01691,
    "h": 101.4
  },
  "luminance": 0.00208
}

Semantic roles & 50–950 ramp

primary
#080702
secondary
#1E2548
accent
#5FE345
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#010100
muted
#777777

Preview Lab

Preview with #080702

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

Preview Lab → · Contrast checker → · Palette generator →

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