#302A16#302A16

#302A16 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.6% C 0.034 H 93.3°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#302A16
RGBrgb(48, 42, 22)
HSLhsl(46, 37%, 14%)
HSVhsv(46, 54%, 19%)
CMYKcmyk(0%, 12.5%, 54.2%, 81.2%)
CIE-LABlab(17.19, -0.74, 14.05)
CIE-LCHlch(17.19, 14.07, 93.03°)
OKLaboklab(28.59% -0.0019 0.034)
OKLCHoklch(28.59% 0.034 93.3)
XYZxyz(2.1918, 2.3423, 1.0956)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302A16 #161C30
analogous
#301D16 #302A16 #293016
triadic
#302A16 #16302A #2A1630
tetradic
#302A16 #16301D #161C30 #301629
square
#302A16 #16301D #161C30 #301629
split-complementary
#302A16 #162930 #1D1630
monochromatic
#15120A #15120A #302A16 #5A4F29 #84733C

Accessibility & contrast

On white

14.30
#302A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#302A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302A16
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302A16#FFFFFF#000000##FFFFFF
##302A161.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2914
Deuteranopia (green-blind)
#2F2B17
Tritanopia (blue-blind)
#342725
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #302a16;
/* rgb */ color: rgb(48, 42, 22);
/* oklch */ color: oklch(28.6% 0.034 93.3);
Tailwind
colors: {
  custom: {
    50: '#696353',
    500: '#302a16',
    950: '#000000',
  },
}
SCSS
$custom: #302a16;
$custom-light: #696353;
$custom-dark: #000000;
JSON
{
  "hex": "#302a16",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 22
  },
  "hsl": {
    "h": 46.154,
    "s": 37.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.28588,
    "c": 0.03411,
    "h": 93.3
  },
  "luminance": 0.02342
}

Semantic roles & 50–950 ramp

primary
#302A16
secondary
#3C4666
accent
#75CD5B
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060502
muted
#7A7978

Preview Lab

Preview with #302A16

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

Preview Lab → · Contrast checker → · Palette generator →

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