#081202#081202

#081202 is a very dark, muted yellow-green. Relative luminance 0.005; OKLCH L 16.7% C 0.039 H 132.5°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#081202
RGBrgb(8, 18, 2)
HSLhsl(98, 80%, 4%)
HSVhsv(98, 89%, 7%)
CMYKcmyk(55.6%, 0%, 88.9%, 92.9%)
CIE-LABlab(4.41, -5.61, 5.69)
CIE-LCHlch(4.41, 7.99, 134.63°)
OKLaboklab(16.65% -0.0262 0.0285)
OKLCHoklch(16.65% 0.039 132.5)
XYZxyz(0.3274, 0.4886, 0.1345)
Luminance0.0049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081202 #0C0212
analogous
#101202 #081202 #021204
triadic
#081202 #020812 #120208
tetradic
#081202 #021012 #0C0212 #120402
square
#081202 #021012 #0C0212 #120402
split-complementary
#081202 #040212 #120210
monochromatic
#0C1C03 #0C1C03 #0C1C03 #204908 #39800E

Accessibility & contrast

On white

19.13
#081202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#081202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081202
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081202#FFFFFF#000000##FFFFFF
##0812021.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131001
Deuteranopia (green-blind)
#120F03
Tritanopia (blue-blind)
#08110E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #081202;
/* rgb */ color: rgb(8, 18, 2);
/* oklch */ color: oklch(16.7% 0.039 132.5);
Tailwind
colors: {
  custom: {
    50: '#4a4f47',
    500: '#081202',
    950: '#000000',
  },
}
SCSS
$custom: #081202;
$custom-light: #4a4f47;
$custom-dark: #000000;
JSON
{
  "hex": "#081202",
  "rgb": {
    "r": 8,
    "g": 18,
    "b": 2
  },
  "hsl": {
    "h": 97.5,
    "s": 80,
    "l": 3.922
  },
  "oklch": {
    "l": 0.16653,
    "c": 0.03873,
    "h": 132.5
  },
  "luminance": 0.00489
}

Semantic roles & 50–950 ramp

primary
#081202
secondary
#401957
accent
#31F6AD
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#010200
muted
#777877

Preview Lab

Preview with #081202

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

Preview Lab → · Contrast checker → · Palette generator →

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