#302C0C#302C0C

#302C0C is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.0% C 0.049 H 102.2°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#302C0C
RGBrgb(48, 44, 12)
HSLhsl(53, 60%, 12%)
HSVhsv(53, 75%, 19%)
CMYKcmyk(0%, 8.3%, 75%, 81.2%)
CIE-LABlab(17.72, -3.15, 20.44)
CIE-LCHlch(17.72, 20.69, 98.77°)
OKLaboklab(28.96% -0.0103 0.0476)
OKLCHoklch(28.96% 0.049 102.2)
XYZxyz(2.1861, 2.4564, 0.7067)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C0C #0C1030
analogous
#301A0C #302C0C #22300C
triadic
#302C0C #0C302C #2C0C30
tetradic
#302C0C #0C301A #0C1030 #300C22
square
#302C0C #0C301A #0C1030 #300C22
split-complementary
#302C0C #0C2230 #1A0C30
monochromatic
#181606 #181606 #302C0C #615918 #928624

Accessibility & contrast

On white

14.08
#302C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302C0C
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C0C#FFFFFF#000000##FFFFFF
##302C0C1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302c0c;
/* rgb */ color: rgb(48, 44, 12);
/* oklch */ color: oklch(29.0% 0.049 102.2);
Tailwind
colors: {
  custom: {
    50: '#6a644d',
    500: '#302c0c',
    950: '#000000',
  },
}
SCSS
$custom: #302c0c;
$custom-light: #6a644d;
$custom-dark: #000000;
JSON
{
  "hex": "#302c0c",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 12
  },
  "hsl": {
    "h": 53.333,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28961,
    "c": 0.04868,
    "h": 102.2
  },
  "luminance": 0.02456
}

Semantic roles & 50–950 ramp

primary
#302C0C
secondary
#2C336C
accent
#56E345
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #302C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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