#302C12#302C12

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

Color values

HEX#302C12
RGBrgb(48, 44, 18)
HSLhsl(52, 45%, 13%)
HSVhsv(52, 63%, 19%)
CMYKcmyk(0%, 8.3%, 62.5%, 81.2%)
CIE-LABlab(17.80, -2.57, 17.35)
CIE-LCHlch(17.80, 17.54, 98.41°)
OKLaboklab(29.05% -0.0077 0.041)
OKLCHoklch(29.05% 0.042 100.7)
XYZxyz(2.2289, 2.4735, 0.9322)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C12 #121630
analogous
#301D12 #302C12 #253012
triadic
#302C12 #12302C #2C1230
tetradic
#302C12 #12301D #121630 #301225
square
#302C12 #12301D #121630 #301225
split-complementary
#302C12 #122530 #1D1230
monochromatic
#161408 #161408 #302C12 #5D5523 #897E33

Accessibility & contrast

On white

14.05
#302C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302C12
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C12#FFFFFF#000000##FFFFFF
##302C121.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302c12;
/* rgb */ color: rgb(48, 44, 18);
/* oklch */ color: oklch(29.0% 0.042 100.7);
Tailwind
colors: {
  custom: {
    50: '#696450',
    500: '#302c12',
    950: '#000000',
  },
}
SCSS
$custom: #302c12;
$custom-light: #696450;
$custom-dark: #000000;
JSON
{
  "hex": "#302c12",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 18
  },
  "hsl": {
    "h": 52,
    "s": 45.455,
    "l": 12.941
  },
  "oklch": {
    "l": 0.29048,
    "c": 0.04173,
    "h": 100.7
  },
  "luminance": 0.02473
}

Semantic roles & 50–950 ramp

primary
#302C12
secondary
#363C68
accent
#64D553
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060502
muted
#7A7A78

Preview Lab

Preview with #302C12

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

Preview Lab → · Contrast checker → · Palette generator →

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