#302D0B#302D0B

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

Color values

HEX#302D0B
RGBrgb(48, 45, 11)
HSLhsl(55, 63%, 12%)
HSVhsv(55, 77%, 19%)
CMYKcmyk(0%, 6.2%, 77.1%, 81.2%)
CIE-LABlab(18.05, -3.89, 21.28)
CIE-LCHlch(18.05, 21.64, 100.37°)
OKLaboklab(29.22% -0.0125 0.0493)
OKLCHoklch(29.22% 0.051 104.3)
XYZxyz(2.2178, 2.5294, 0.6879)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D0B #0B0E30
analogous
#301B0B #302D0B #21300B
triadic
#302D0B #0B302D #2D0B30
tetradic
#302D0B #0B301B #0B0E30 #300B21
square
#302D0B #0B301B #0B0E30 #300B21
split-complementary
#302D0B #0B2130 #1B0B30
monochromatic
#191706 #191706 #302D0B #625C16 #948A22

Accessibility & contrast

On white

13.95
#302D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302D0B
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D0B#FFFFFF#000000##FFFFFF
##302D0B1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302d0b;
/* rgb */ color: rgb(48, 45, 11);
/* oklch */ color: oklch(29.2% 0.051 104.3);
Tailwind
colors: {
  custom: {
    50: '#6a654c',
    500: '#302d0b',
    950: '#000000',
  },
}
SCSS
$custom: #302d0b;
$custom-light: #6a654c;
$custom-dark: #000000;
JSON
{
  "hex": "#302d0b",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 11
  },
  "hsl": {
    "h": 55.135,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2922,
    "c": 0.05088,
    "h": 104.3
  },
  "luminance": 0.02529
}

Semantic roles & 50–950 ramp

primary
#302D0B
secondary
#2A306D
accent
#4FE642
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #302D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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