#302C05#302C05

#302C05 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.9% C 0.056 H 103.4°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#302C05
RGBrgb(48, 44, 5)
HSLhsl(54, 81%, 10%)
HSVhsv(54, 90%, 19%)
CMYKcmyk(0%, 8.3%, 89.6%, 81.2%)
CIE-LABlab(17.65, -3.69, 23.25)
CIE-LCHlch(17.65, 23.55, 99.03°)
OKLaboklab(28.88% -0.0129 0.0541)
OKLCHoklch(28.88% 0.056 103.4)
XYZxyz(2.1471, 2.4408, 0.5016)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C05 #050930
analogous
#301605 #302C05 #1E3005
triadic
#302C05 #05302C #2C0530
tetradic
#302C05 #053016 #050930 #30051E
square
#302C05 #053016 #050930 #30051E
split-complementary
#302C05 #051E30 #160530
monochromatic
#1C1903 #1C1903 #302C05 #675F0B #9F9211

Accessibility & contrast

On white

14.11
#302C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#302C05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C05
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C05#FFFFFF#000000##FFFFFF
##302C051.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A01
Deuteranopia (green-blind)
#322C07
Tritanopia (blue-blind)
#342824
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #302c05;
/* rgb */ color: rgb(48, 44, 5);
/* oklch */ color: oklch(28.9% 0.056 103.4);
Tailwind
colors: {
  custom: {
    50: '#6a6449',
    500: '#302c05',
    950: '#000000',
  },
}
SCSS
$custom: #302c05;
$custom-light: #6a6449;
$custom-dark: #000000;
JSON
{
  "hex": "#302c05",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 5
  },
  "hsl": {
    "h": 54.419,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28881,
    "c": 0.05562,
    "h": 103.4
  },
  "luminance": 0.02441
}

Semantic roles & 50–950 ramp

primary
#302C05
secondary
#1F2772
accent
#43F830
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #302C05

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

Preview Lab → · Contrast checker → · Palette generator →

#302C05 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva