#302C0B#302C0B

#302C0B is a dark, muted yellow. Relative luminance 0.025; OKLCH L 28.9% C 0.050 H 102.4°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#302C0B
RGBrgb(48, 44, 11)
HSLhsl(54, 63%, 12%)
HSVhsv(54, 77%, 19%)
CMYKcmyk(0%, 8.3%, 77.1%, 81.2%)
CIE-LABlab(17.71, -3.24, 20.87)
CIE-LCHlch(17.71, 21.12, 98.81°)
OKLaboklab(28.95% -0.0107 0.0485)
OKLCHoklch(28.95% 0.05 102.4)
XYZxyz(2.1801, 2.4540, 0.6754)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C0B #0B0F30
analogous
#301A0B #302C0B #22300B
triadic
#302C0B #0B302C #2C0B30
tetradic
#302C0B #0B301A #0B0F30 #300B22
square
#302C0B #0B301A #0B0F30 #300B22
split-complementary
#302C0B #0B2230 #1A0B30
monochromatic
#191706 #191706 #302C0B #625A16 #948722

Accessibility & contrast

On white

14.09
#302C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302C0B
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C0B#FFFFFF#000000##FFFFFF
##302C0B1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A07
Deuteranopia (green-blind)
#322C0D
Tritanopia (blue-blind)
#342825
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #302c0b;
/* rgb */ color: rgb(48, 44, 11);
/* oklch */ color: oklch(28.9% 0.050 102.4);
Tailwind
colors: {
  custom: {
    50: '#6a644c',
    500: '#302c0b',
    950: '#000000',
  },
}
SCSS
$custom: #302c0b;
$custom-light: #6a644c;
$custom-dark: #000000;
JSON
{
  "hex": "#302c0b",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 11
  },
  "hsl": {
    "h": 53.514,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28949,
    "c": 0.0497,
    "h": 102.4
  },
  "luminance": 0.02454
}

Semantic roles & 50–950 ramp

primary
#302C0B
secondary
#2A316D
accent
#54E642
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #302C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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