#302D0C#302D0C

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

Color values

HEX#302D0C
RGBrgb(48, 45, 12)
HSLhsl(55, 60%, 12%)
HSVhsv(55, 75%, 19%)
CMYKcmyk(0%, 6.2%, 75%, 81.2%)
CIE-LABlab(18.06, -3.81, 20.85)
CIE-LCHlch(18.06, 21.20, 100.36°)
OKLaboklab(29.23% -0.0122 0.0484)
OKLCHoklch(29.23% 0.05 104.1)
XYZxyz(2.2238, 2.5318, 0.7193)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D0C #0C0F30
analogous
#301B0C #302D0C #21300C
triadic
#302D0C #0C302D #2D0C30
tetradic
#302D0C #0C301B #0C0F30 #300C21
square
#302D0C #0C301B #0C0F30 #300C21
split-complementary
#302D0C #0C2130 #1B0C30
monochromatic
#181706 #181706 #302D0C #615B18 #928924

Accessibility & contrast

On white

13.94
#302D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#302D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302D0C
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D0C#FFFFFF#000000##FFFFFF
##302D0C1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B08
Deuteranopia (green-blind)
#332D0E
Tritanopia (blue-blind)
#342926
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #302d0c;
/* rgb */ color: rgb(48, 45, 12);
/* oklch */ color: oklch(29.2% 0.050 104.1);
Tailwind
colors: {
  custom: {
    50: '#6a654d',
    500: '#302d0c',
    950: '#000000',
  },
}
SCSS
$custom: #302d0c;
$custom-light: #6a654d;
$custom-dark: #000000;
JSON
{
  "hex": "#302d0c",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 12
  },
  "hsl": {
    "h": 55,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29232,
    "c": 0.04987,
    "h": 104.1
  },
  "luminance": 0.02532
}

Semantic roles & 50–950 ramp

primary
#302D0C
secondary
#2C316C
accent
#52E345
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #302D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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