#302C13#302C13

#302C13 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.1% C 0.040 H 100.4°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#302C13
RGBrgb(48, 44, 19)
HSLhsl(52, 43%, 13%)
HSVhsv(52, 60%, 19%)
CMYKcmyk(0%, 8.3%, 60.4%, 81.2%)
CIE-LABlab(17.81, -2.45, 16.75)
CIE-LCHlch(17.81, 16.93, 98.34°)
OKLaboklab(29.07% -0.0073 0.0398)
OKLCHoklch(29.07% 0.04 100.4)
XYZxyz(2.2372, 2.4768, 0.9762)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C13 #131730
analogous
#301D13 #302C13 #253013
triadic
#302C13 #13302C #2C1330
tetradic
#302C13 #13301D #131730 #301325
square
#302C13 #13301D #131730 #301325
split-complementary
#302C13 #132530 #1D1330
monochromatic
#161409 #161409 #302C13 #5C5424 #887C36

Accessibility & contrast

On white

14.04
#302C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#302C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C13
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C13#FFFFFF#000000##FFFFFF
##302C131.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B11
Deuteranopia (green-blind)
#312C14
Tritanopia (blue-blind)
#342926
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #302c13;
/* rgb */ color: rgb(48, 44, 19);
/* oklch */ color: oklch(29.1% 0.040 100.4);
Tailwind
colors: {
  custom: {
    50: '#696451',
    500: '#302c13',
    950: '#000000',
  },
}
SCSS
$custom: #302c13;
$custom-light: #696451;
$custom-dark: #000000;
JSON
{
  "hex": "#302c13",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 19
  },
  "hsl": {
    "h": 51.724,
    "s": 43.284,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29065,
    "c": 0.04046,
    "h": 100.4
  },
  "luminance": 0.02477
}

Semantic roles & 50–950 ramp

primary
#302C13
secondary
#373E67
accent
#66D355
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060502
muted
#7A7A78

Preview Lab

Preview with #302C13

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

Preview Lab → · Contrast checker → · Palette generator →

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