#303312#303312

#303312 is a dark, muted yellow. Relative luminance 0.030; OKLCH L 31.0% C 0.051 H 113.7°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#303312
RGBrgb(48, 51, 18)
HSLhsl(65, 48%, 14%)
HSVhsv(65, 65%, 20%)
CMYKcmyk(5.9%, 0%, 64.7%, 80%)
CIE-LABlab(20.20, -7.11, 20.17)
CIE-LCHlch(20.20, 21.38, 109.42°)
OKLaboklab(30.96% -0.0207 0.0471)
OKLCHoklch(30.96% 0.051 113.7)
XYZxyz(2.5120, 3.0397, 1.0266)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303312 #151233
analogous
#332512 #303312 #1F3312
triadic
#303312 #123033 #331230
tetradic
#303312 #123325 #151233 #33121F
square
#303312 #123325 #151233 #33121F
split-complementary
#303312 #121F33 #251233
monochromatic
#151708 #151708 #303312 #5B6022 #858D32

Accessibility & contrast

On white

13.06
#303312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#303312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303312
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303312#FFFFFF#000000##FFFFFF
##3033121.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300F
Deuteranopia (green-blind)
#373114
Tritanopia (blue-blind)
#33302C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #303312;
/* rgb */ color: rgb(48, 51, 18);
/* oklch */ color: oklch(31.0% 0.051 113.7);
Tailwind
colors: {
  custom: {
    50: '#696a51',
    500: '#303312',
    950: '#000000',
  },
}
SCSS
$custom: #303312;
$custom-light: #696a51;
$custom-dark: #000000;
JSON
{
  "hex": "#303312",
  "rgb": {
    "r": 48,
    "g": 51,
    "b": 18
  },
  "hsl": {
    "h": 65.455,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30963,
    "c": 0.05145,
    "h": 113.7
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#303312
secondary
#3A356B
accent
#50D75D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #303312

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

Preview Lab → · Contrast checker → · Palette generator →

#303312 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva