#302D0D#302D0D

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

Color values

HEX#302D0D
RGBrgb(48, 45, 13)
HSLhsl(55, 57%, 12%)
HSVhsv(55, 73%, 19%)
CMYKcmyk(0%, 6.2%, 72.9%, 81.2%)
CIE-LABlab(18.07, -3.73, 20.40)
CIE-LCHlch(18.07, 20.74, 100.35°)
OKLaboklab(29.24% -0.0118 0.0474)
OKLCHoklch(29.24% 0.049 104)
XYZxyz(2.2300, 2.5343, 0.7524)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D0D #0D1030
analogous
#301C0D #302D0D #22300D
triadic
#302D0D #0D302D #2D0D30
tetradic
#302D0D #0D301C #0D1030 #300D22
square
#302D0D #0D301C #0D1030 #300D22
split-complementary
#302D0D #0D2230 #1C0D30
monochromatic
#181707 #181707 #302D0D #605A1A #908727

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##302D0D#FFFFFF#000000##FFFFFF
##302D0D1.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)
#312B09
Deuteranopia (green-blind)
#332D0F
Tritanopia (blue-blind)
#342A26
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #302d0d;
/* rgb */ color: rgb(48, 45, 13);
/* oklch */ color: oklch(29.2% 0.049 104.0);
Tailwind
colors: {
  custom: {
    50: '#6a654d',
    500: '#302d0d',
    950: '#000000',
  },
}
SCSS
$custom: #302d0d;
$custom-light: #6a654d;
$custom-dark: #000000;
JSON
{
  "hex": "#302d0d",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 13
  },
  "hsl": {
    "h": 54.857,
    "s": 57.377,
    "l": 11.961
  },
  "oklch": {
    "l": 0.29245,
    "c": 0.04882,
    "h": 104
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

primary
#302D0D
secondary
#2E336B
accent
#54E147
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #302D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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