#302B0A#302B0A

#302B0A is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.7% C 0.050 H 100.6°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#302B0A
RGBrgb(48, 43, 10)
HSLhsl(52, 66%, 11%)
HSVhsv(52, 79%, 19%)
CMYKcmyk(0%, 10.4%, 79.2%, 81.2%)
CIE-LABlab(17.36, -2.65, 20.87)
CIE-LCHlch(17.36, 21.03, 97.23°)
OKLaboklab(28.67% -0.0091 0.0487)
OKLCHoklch(28.67% 0.05 100.6)
XYZxyz(2.1377, 2.3781, 0.6335)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B0A #0A0F30
analogous
#30180A #302B0A #22300A
triadic
#302B0A #0A302B #2B0A30
tetradic
#302B0A #0A3018 #0A0F30 #300A22
square
#302B0A #0A3018 #0A0F30 #300A22
split-complementary
#302B0A #0A2230 #180A30
monochromatic
#191705 #191705 #302B0A #635815 #95861F

Accessibility & contrast

On white

14.23
#302B0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#302B0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302B0A
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B0A#FFFFFF#000000##FFFFFF
##302B0A1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A06
Deuteranopia (green-blind)
#312B0C
Tritanopia (blue-blind)
#342724
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #302b0a;
/* rgb */ color: rgb(48, 43, 10);
/* oklch */ color: oklch(28.7% 0.050 100.6);
Tailwind
colors: {
  custom: {
    50: '#6a644b',
    500: '#302b0a',
    950: '#000000',
  },
}
SCSS
$custom: #302b0a;
$custom-light: #6a644b;
$custom-dark: #000000;
JSON
{
  "hex": "#302b0a",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 10
  },
  "hsl": {
    "h": 52.105,
    "s": 65.517,
    "l": 11.373
  },
  "oklch": {
    "l": 0.28667,
    "c": 0.04955,
    "h": 100.6
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#302B0A
secondary
#29326D
accent
#56E83F
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #302B0A

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

Preview Lab → · Contrast checker → · Palette generator →

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