#302B11#302B11

#302B11 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.8% C 0.042 H 98.6°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#302B11
RGBrgb(48, 43, 17)
HSLhsl(50, 48%, 13%)
HSVhsv(50, 65%, 19%)
CMYKcmyk(0%, 10.4%, 64.6%, 81.2%)
CIE-LABlab(17.44, -2.01, 17.52)
CIE-LCHlch(17.44, 17.64, 96.54°)
OKLaboklab(28.76% -0.0063 0.0413)
OKLCHoklch(28.76% 0.042 98.6)
XYZxyz(2.1841, 2.3967, 0.8778)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B11 #111630
analogous
#301C11 #302B11 #253011
triadic
#302B11 #11302B #2B1130
tetradic
#302B11 #11301C #111630 #301125
square
#302B11 #11301C #111630 #301125
split-complementary
#302B11 #112530 #1C1130
monochromatic
#171408 #171408 #302B11 #5D5321 #8A7C31

Accessibility & contrast

On white

14.19
#302B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#302B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302B11
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B11#FFFFFF#000000##FFFFFF
##302B111.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A0F
Deuteranopia (green-blind)
#312C12
Tritanopia (blue-blind)
#342825
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #302b11;
/* rgb */ color: rgb(48, 43, 17);
/* oklch */ color: oklch(28.8% 0.042 98.6);
Tailwind
colors: {
  custom: {
    50: '#69644f',
    500: '#302b11',
    950: '#000000',
  },
}
SCSS
$custom: #302b11;
$custom-light: #69644f;
$custom-dark: #000000;
JSON
{
  "hex": "#302b11",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 17
  },
  "hsl": {
    "h": 50.323,
    "s": 47.692,
    "l": 12.745
  },
  "oklch": {
    "l": 0.28763,
    "c": 0.0418,
    "h": 98.6
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#302B11
secondary
#343D69
accent
#66D751
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060502
muted
#7A7978

Preview Lab

Preview with #302B11

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

Preview Lab → · Contrast checker → · Palette generator →

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