#302B05#302B05

#302B05 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.6% C 0.055 H 101.7°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#302B05
RGBrgb(48, 43, 5)
HSLhsl(53, 81%, 10%)
HSVhsv(53, 90%, 19%)
CMYKcmyk(0%, 10.4%, 89.6%, 81.2%)
CIE-LABlab(17.31, -3.03, 22.84)
CIE-LCHlch(17.31, 23.04, 97.57°)
OKLaboklab(28.61% -0.011 0.0534)
OKLCHoklch(28.61% 0.055 101.7)
XYZxyz(2.1103, 2.3672, 0.4893)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B05 #050A30
analogous
#301505 #302B05 #1F3005
triadic
#302B05 #05302B #2B0530
tetradic
#302B05 #053015 #050A30 #30051F
square
#302B05 #053015 #050A30 #30051F
split-complementary
#302B05 #051F30 #150530
monochromatic
#1C1903 #1C1903 #302B05 #675D0B #9F8E11

Accessibility & contrast

On white

14.25
#302B05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#302B05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302B05
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B05#FFFFFF#000000##FFFFFF
##302B051.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302901
Deuteranopia (green-blind)
#322B07
Tritanopia (blue-blind)
#352724
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #302b05;
/* rgb */ color: rgb(48, 43, 5);
/* oklch */ color: oklch(28.6% 0.055 101.7);
Tailwind
colors: {
  custom: {
    50: '#6a6449',
    500: '#302b05',
    950: '#000000',
  },
}
SCSS
$custom: #302b05;
$custom-light: #6a6449;
$custom-dark: #000000;
JSON
{
  "hex": "#302b05",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 5
  },
  "hsl": {
    "h": 53.023,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2861,
    "c": 0.05456,
    "h": 101.7
  },
  "luminance": 0.02367
}

Semantic roles & 50–950 ramp

primary
#302B05
secondary
#1F2972
accent
#47F830
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #302B05

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

Preview Lab → · Contrast checker → · Palette generator →

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