#302B0D#302B0D

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

Color values

HEX#302B0D
RGBrgb(48, 43, 13)
HSLhsl(51, 57%, 12%)
HSVhsv(51, 73%, 19%)
CMYKcmyk(0%, 10.4%, 72.9%, 81.2%)
CIE-LABlab(17.39, -2.40, 19.58)
CIE-LCHlch(17.39, 19.73, 97.00°)
OKLaboklab(28.7% -0.008 0.0458)
OKLCHoklch(28.7% 0.046 99.9)
XYZxyz(2.1555, 2.3853, 0.7276)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B0D #0D1230
analogous
#301A0D #302B0D #24300D
triadic
#302B0D #0D302B #2B0D30
tetradic
#302B0D #0D301A #0D1230 #300D24
square
#302B0D #0D301A #0D1230 #300D24
split-complementary
#302B0D #0D2430 #1A0D30
monochromatic
#181607 #181607 #302B0D #60561A #908127

Accessibility & contrast

On white

14.22
#302B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302B0D
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B0D#FFFFFF#000000##FFFFFF
##302B0D1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0A
Deuteranopia (green-blind)
#312C0F
Tritanopia (blue-blind)
#342824
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #302b0d;
/* rgb */ color: rgb(48, 43, 13);
/* oklch */ color: oklch(28.7% 0.046 99.9);
Tailwind
colors: {
  custom: {
    50: '#6a644d',
    500: '#302b0d',
    950: '#000000',
  },
}
SCSS
$custom: #302b0d;
$custom-light: #6a644d;
$custom-dark: #000000;
JSON
{
  "hex": "#302b0d",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 13
  },
  "hsl": {
    "h": 51.429,
    "s": 57.377,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28704,
    "c": 0.04647,
    "h": 99.9
  },
  "luminance": 0.02385
}

Semantic roles & 50–950 ramp

primary
#302B0D
secondary
#2E366B
accent
#5DE147
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #302B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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