#302C0A#302C0A

#302C0A is a dark, muted yellow. Relative luminance 0.025; OKLCH L 28.9% C 0.051 H 102.6°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#302C0A
RGBrgb(48, 44, 10)
HSLhsl(54, 66%, 11%)
HSVhsv(54, 79%, 19%)
CMYKcmyk(0%, 8.3%, 79.2%, 81.2%)
CIE-LABlab(17.70, -3.31, 21.28)
CIE-LCHlch(17.70, 21.53, 98.85°)
OKLaboklab(28.94% -0.011 0.0495)
OKLCHoklch(28.94% 0.051 102.6)
XYZxyz(2.1745, 2.4517, 0.6458)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C0A #0A0E30
analogous
#30190A #302C0A #21300A
triadic
#302C0A #0A302C #2C0A30
tetradic
#302C0A #0A3019 #0A0E30 #300A21
square
#302C0A #0A3019 #0A0E30 #300A21
split-complementary
#302C0A #0A2130 #190A30
monochromatic
#191705 #191705 #302C0A #635A15 #95891F

Accessibility & contrast

On white

14.09
#302C0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#302C0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C0A
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C0A#FFFFFF#000000##FFFFFF
##302C0A1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A06
Deuteranopia (green-blind)
#322C0C
Tritanopia (blue-blind)
#342825
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #302c0a;
/* rgb */ color: rgb(48, 44, 10);
/* oklch */ color: oklch(28.9% 0.051 102.6);
Tailwind
colors: {
  custom: {
    50: '#6a644c',
    500: '#302c0a',
    950: '#000000',
  },
}
SCSS
$custom: #302c0a;
$custom-light: #6a644c;
$custom-dark: #000000;
JSON
{
  "hex": "#302c0a",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 10
  },
  "hsl": {
    "h": 53.684,
    "s": 65.517,
    "l": 11.373
  },
  "oklch": {
    "l": 0.28937,
    "c": 0.05067,
    "h": 102.6
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#302C0A
secondary
#29306D
accent
#51E83F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #302C0A

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

Preview Lab → · Contrast checker → · Palette generator →

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