#081302#081302

#081302 is a very dark, muted yellow-green. Relative luminance 0.005; OKLCH L 17.0% C 0.041 H 133.4°. Best body text is #FFFFFF at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#081302
RGBrgb(8, 19, 2)
HSLhsl(99, 81%, 4%)
HSVhsv(99, 89%, 7%)
CMYKcmyk(57.9%, 0%, 89.5%, 92.5%)
CIE-LABlab(4.71, -6.22, 6.12)
CIE-LCHlch(4.71, 8.73, 135.46°)
OKLaboklab(17.01% -0.0279 0.0295)
OKLCHoklch(17.01% 0.041 133.4)
XYZxyz(0.3440, 0.5217, 0.1400)
Luminance0.0052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081302 #0D0213
analogous
#111302 #081302 #021305
triadic
#081302 #020813 #130208
tetradic
#081302 #021113 #0D0213 #130502
square
#081302 #021113 #0D0213 #130502
split-complementary
#081302 #050213 #130211
monochromatic
#0C1C03 #0C1C03 #0C1C03 #1F4A08 #37820E

Accessibility & contrast

On white

19.01
#081302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081302
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081302#FFFFFF#000000##FFFFFF
##0813021.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141101
Deuteranopia (green-blind)
#131003
Tritanopia (blue-blind)
#08120F
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #081302;
/* rgb */ color: rgb(8, 19, 2);
/* oklch */ color: oklch(17.0% 0.041 133.4);
Tailwind
colors: {
  custom: {
    50: '#4a5047',
    500: '#081302',
    950: '#000000',
  },
}
SCSS
$custom: #081302;
$custom-light: #4a5047;
$custom-dark: #000000;
JSON
{
  "hex": "#081302",
  "rgb": {
    "r": 8,
    "g": 19,
    "b": 2
  },
  "hsl": {
    "h": 98.824,
    "s": 80.952,
    "l": 4.118
  },
  "oklch": {
    "l": 0.17008,
    "c": 0.0406,
    "h": 133.4
  },
  "luminance": 0.00522
}

Semantic roles & 50–950 ramp

primary
#081302
secondary
#421858
accent
#30F7B1
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#010200
muted
#777877

Preview Lab

Preview with #081302

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

Preview Lab → · Contrast checker → · Palette generator →

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