#302B0C#302B0C

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

Color values

HEX#302B0C
RGBrgb(48, 43, 12)
HSLhsl(52, 60%, 12%)
HSVhsv(52, 75%, 19%)
CMYKcmyk(0%, 10.4%, 75%, 81.2%)
CIE-LABlab(17.38, -2.49, 20.03)
CIE-LCHlch(17.38, 20.19, 97.09°)
OKLaboklab(28.69% -0.0084 0.0468)
OKLCHoklch(28.69% 0.048 100.2)
XYZxyz(2.1492, 2.3828, 0.6945)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B0C #0C1130
analogous
#30190C #302B0C #23300C
triadic
#302B0C #0C302B #2B0C30
tetradic
#302B0C #0C3019 #0C1130 #300C23
square
#302B0C #0C3019 #0C1130 #300C23
split-complementary
#302B0C #0C2330 #190C30
monochromatic
#181606 #181606 #302B0C #615718 #928324

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##302B0C#FFFFFF#000000##FFFFFF
##302B0C1.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)
#302A09
Deuteranopia (green-blind)
#312C0E
Tritanopia (blue-blind)
#342724
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #302b0c;
/* rgb */ color: rgb(48, 43, 12);
/* oklch */ color: oklch(28.7% 0.048 100.2);
Tailwind
colors: {
  custom: {
    50: '#6a644c',
    500: '#302b0c',
    950: '#000000',
  },
}
SCSS
$custom: #302b0c;
$custom-light: #6a644c;
$custom-dark: #000000;
JSON
{
  "hex": "#302b0c",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 12
  },
  "hsl": {
    "h": 51.667,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28691,
    "c": 0.04755,
    "h": 100.2
  },
  "luminance": 0.02383
}

Semantic roles & 50–950 ramp

primary
#302B0C
secondary
#2C356C
accent
#5BE345
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #302B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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