#302805#302805

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

Color values

HEX#302805
RGBrgb(48, 40, 5)
HSLhsl(49, 81%, 10%)
HSVhsv(49, 90%, 19%)
CMYKcmyk(0%, 16.7%, 89.6%, 81.2%)
CIE-LABlab(16.29, -1.02, 21.59)
CIE-LCHlch(16.29, 21.61, 92.72°)
OKLaboklab(27.8% -0.0054 0.0514)
OKLCHoklch(27.8% 0.052 96)
XYZxyz(2.0052, 2.1570, 0.4543)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302805 #050D30
analogous
#301205 #302805 #223005
triadic
#302805 #053028 #280530
tetradic
#302805 #053012 #050D30 #300522
square
#302805 #053012 #050D30 #300522
split-complementary
#302805 #052230 #120530
monochromatic
#1C1703 #1C1703 #302805 #67560B #9F8411

Accessibility & contrast

On white

14.67
#302805 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302805
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302805#FFFFFF#000000##FFFFFF
##3028051.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302805;
/* rgb */ color: rgb(48, 40, 5);
/* oklch */ color: oklch(27.8% 0.052 96.0);
Tailwind
colors: {
  custom: {
    50: '#6a6149',
    500: '#302805',
    950: '#000000',
  },
}
SCSS
$custom: #302805;
$custom-light: #6a6149;
$custom-dark: #000000;
JSON
{
  "hex": "#302805",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 5
  },
  "hsl": {
    "h": 48.837,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27804,
    "c": 0.0517,
    "h": 96
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

primary
#302805
secondary
#1F2F72
accent
#55F830
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #302805

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

Preview Lab → · Contrast checker → · Palette generator →

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