#050602#050602

#050602 is a very dark, near-neutral yellow-green. Relative luminance 0.002; OKLCH L 11.8% C 0.015 H 118.0°. Best body text is #FFFFFF at 20.32:1 contrast (WCAG AA passes).

Color values

HEX#050602
RGBrgb(5, 6, 2)
HSLhsl(75, 50%, 2%)
HSVhsv(75, 67%, 2%)
CMYKcmyk(16.7%, 0%, 66.7%, 97.6%)
CIE-LABlab(1.51, -0.82, 1.42)
CIE-LCHlch(1.51, 1.64, 119.87°)
OKLaboklab(11.77% -0.0071 0.0135)
OKLCHoklch(11.77% 0.015 118)
XYZxyz(0.1387, 0.1669, 0.0823)
Luminance0.0017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050602 #030206
analogous
#060502 #050602 #030602
triadic
#050602 #020506 #060205
tetradic
#050602 #020605 #030206 #060203
square
#050602 #020605 #030206 #060203
split-complementary
#050602 #020306 #050206
monochromatic
#131708 #131708 #131708 #2B3411 #526221

Accessibility & contrast

On white

20.32
#050602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#050602 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050602
20.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050602#FFFFFF#000000##FFFFFF
##0506021.0020.321.0320.32
#FFFFFF20.321.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070502
Deuteranopia (green-blind)
#070602
Tritanopia (blue-blind)
#050505
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #050602;
/* rgb */ color: rgb(5, 6, 2);
/* oklch */ color: oklch(11.8% 0.015 118.0);
Tailwind
colors: {
  custom: {
    50: '#494948',
    500: '#050602',
    950: '#000000',
  },
}
SCSS
$custom: #050602;
$custom-light: #494948;
$custom-dark: #000000;
JSON
{
  "hex": "#050602",
  "rgb": {
    "r": 5,
    "g": 6,
    "b": 2
  },
  "hsl": {
    "h": 75,
    "s": 50,
    "l": 1.569
  },
  "oklch": {
    "l": 0.11771,
    "c": 0.01523,
    "h": 118
  },
  "luminance": 0.00167
}

Semantic roles & 50–950 ramp

primary
#050602
secondary
#292043
accent
#4EDA71
background
#F4F4F4
surface
#E6E6E6
border
#C2C2C2
text
#000000
muted
#777777

Preview Lab

Preview with #050602

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

Preview Lab → · Contrast checker → · Palette generator →

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