#302C14#302C14

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

Color values

HEX#302C14
RGBrgb(48, 44, 20)
HSLhsl(51, 41%, 13%)
HSVhsv(51, 58%, 19%)
CMYKcmyk(0%, 8.3%, 58.3%, 81.2%)
CIE-LABlab(17.83, -2.34, 16.14)
CIE-LCHlch(17.83, 16.30, 98.24°)
OKLaboklab(29.08% -0.0068 0.0385)
OKLCHoklch(29.08% 0.039 100)
XYZxyz(2.2459, 2.4803, 1.0221)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C14 #141830
analogous
#301E14 #302C14 #263014
triadic
#302C14 #14302C #2C1430
tetradic
#302C14 #14301E #141830 #301426
square
#302C14 #14301E #141830 #301426
split-complementary
#302C14 #142630 #1E1430
monochromatic
#161409 #161409 #302C14 #5B5426 #867B38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##302C14#FFFFFF#000000##FFFFFF
##302C141.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)
#302B12
Deuteranopia (green-blind)
#312C15
Tritanopia (blue-blind)
#342926
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #302c14;
/* rgb */ color: rgb(48, 44, 20);
/* oklch */ color: oklch(29.1% 0.039 100.0);
Tailwind
colors: {
  custom: {
    50: '#696452',
    500: '#302c14',
    950: '#000000',
  },
}
SCSS
$custom: #302c14;
$custom-light: #696452;
$custom-dark: #000000;
JSON
{
  "hex": "#302c14",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 20
  },
  "hsl": {
    "h": 51.429,
    "s": 41.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.29083,
    "c": 0.03914,
    "h": 100
  },
  "luminance": 0.0248
}

Semantic roles & 50–950 ramp

primary
#302C14
secondary
#393F67
accent
#68D157
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060502
muted
#7A7A78

Preview Lab

Preview with #302C14

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

Preview Lab → · Contrast checker → · Palette generator →

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