#302808#302808

#302808 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.8% C 0.049 H 94.9°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#302808
RGBrgb(48, 40, 8)
HSLhsl(48, 71%, 11%)
HSVhsv(48, 83%, 19%)
CMYKcmyk(0%, 16.7%, 83.3%, 81.2%)
CIE-LABlab(16.32, -0.79, 20.41)
CIE-LCHlch(16.32, 20.42, 92.22°)
OKLaboklab(27.84% -0.0041 0.0484)
OKLCHoklch(27.84% 0.049 94.9)
XYZxyz(2.0216, 2.1636, 0.5408)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302808 #081030
analogous
#301408 #302808 #243008
triadic
#302808 #083028 #280830
tetradic
#302808 #083014 #081030 #300824
square
#302808 #083014 #081030 #300824
split-complementary
#302808 #082430 #140830
monochromatic
#1A1604 #1A1604 #302808 #645411 #997F19

Accessibility & contrast

On white

14.66
#302808 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#302808 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302808
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302808#FFFFFF#000000##FFFFFF
##3028081.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2705
Deuteranopia (green-blind)
#2F2A0A
Tritanopia (blue-blind)
#352421
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #302808;
/* rgb */ color: rgb(48, 40, 8);
/* oklch */ color: oklch(27.8% 0.049 94.9);
Tailwind
colors: {
  custom: {
    50: '#6a614a',
    500: '#302808',
    950: '#000000',
  },
}
SCSS
$custom: #302808;
$custom-light: #6a614a;
$custom-dark: #000000;
JSON
{
  "hex": "#302808",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 8
  },
  "hsl": {
    "h": 48,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2784,
    "c": 0.04857,
    "h": 94.9
  },
  "luminance": 0.02163
}

Semantic roles & 50–950 ramp

primary
#302808
secondary
#25346F
accent
#5EEE3A
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #302808

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

Preview Lab → · Contrast checker → · Palette generator →

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