#302D05#302D05

#302D05 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.2% C 0.057 H 105.1°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#302D05
RGBrgb(48, 45, 5)
HSLhsl(56, 81%, 10%)
HSVhsv(56, 90%, 19%)
CMYKcmyk(0%, 6.2%, 89.6%, 81.2%)
CIE-LABlab(17.99, -4.35, 23.67)
CIE-LCHlch(17.99, 24.06, 100.42°)
OKLaboklab(29.15% -0.0147 0.0548)
OKLCHoklch(29.15% 0.057 105.1)
XYZxyz(2.1848, 2.5162, 0.5141)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D05 #050830
analogous
#301705 #302D05 #1D3005
triadic
#302D05 #05302D #2D0530
tetradic
#302D05 #053017 #050830 #30051D
square
#302D05 #053017 #050830 #30051D
split-complementary
#302D05 #051D30 #170530
monochromatic
#1C1A03 #1C1A03 #302D05 #67610B #9F9511

Accessibility & contrast

On white

13.97
#302D05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#302D05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302D05
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D05#FFFFFF#000000##FFFFFF
##302D051.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B01
Deuteranopia (green-blind)
#332D07
Tritanopia (blue-blind)
#342925
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #302d05;
/* rgb */ color: rgb(48, 45, 5);
/* oklch */ color: oklch(29.2% 0.057 105.1);
Tailwind
colors: {
  custom: {
    50: '#6a6549',
    500: '#302d05',
    950: '#000000',
  },
}
SCSS
$custom: #302d05;
$custom-light: #6a6549;
$custom-dark: #000000;
JSON
{
  "hex": "#302d05",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 5
  },
  "hsl": {
    "h": 55.814,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.29154,
    "c": 0.05673,
    "h": 105.1
  },
  "luminance": 0.02516
}

Semantic roles & 50–950 ramp

primary
#302D05
secondary
#1F2572
accent
#3EF830
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #302D05

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

Preview Lab → · Contrast checker → · Palette generator →

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