#302A0B#302A0B

#302A0B is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.4% C 0.048 H 98.3°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#302A0B
RGBrgb(48, 42, 11)
HSLhsl(50, 63%, 12%)
HSVhsv(50, 77%, 19%)
CMYKcmyk(0%, 12.5%, 77.1%, 81.2%)
CIE-LABlab(17.03, -1.90, 20.05)
CIE-LCHlch(17.03, 20.14, 95.42°)
OKLaboklab(28.41% -0.0069 0.047)
OKLCHoklch(28.41% 0.048 98.3)
XYZxyz(2.1074, 2.3086, 0.6511)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302A0B #0B1130
analogous
#30180B #302A0B #24300B
triadic
#302A0B #0B302A #2A0B30
tetradic
#302A0B #0B3018 #0B1130 #300B24
square
#302A0B #0B3018 #0B1130 #300B24
split-complementary
#302A0B #0B2430 #180B30
monochromatic
#191606 #191606 #302A0B #625616 #948122

Accessibility & contrast

On white

14.37
#302A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#302A0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302A0B
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302A0B#FFFFFF#000000##FFFFFF
##302A0B1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2908
Deuteranopia (green-blind)
#302B0D
Tritanopia (blue-blind)
#342623
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #302a0b;
/* rgb */ color: rgb(48, 42, 11);
/* oklch */ color: oklch(28.4% 0.048 98.3);
Tailwind
colors: {
  custom: {
    50: '#6a634c',
    500: '#302a0b',
    950: '#000000',
  },
}
SCSS
$custom: #302a0b;
$custom-light: #6a634c;
$custom-dark: #000000;
JSON
{
  "hex": "#302a0b",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 11
  },
  "hsl": {
    "h": 50.27,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2841,
    "c": 0.0475,
    "h": 98.3
  },
  "luminance": 0.02308
}

Semantic roles & 50–950 ramp

primary
#302A0B
secondary
#2A356D
accent
#5DE642
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #302A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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