#333304#333304

#333304 is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 31.1% C 0.064 H 109.6°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#333304
RGBrgb(51, 51, 4)
HSLhsl(60, 85%, 11%)
HSVhsv(60, 92%, 20%)
CMYKcmyk(0%, 0%, 92.2%, 80%)
CIE-LABlab(20.36, -6.64, 26.90)
CIE-LCHlch(20.36, 27.71, 103.87°)
OKLaboklab(31.12% -0.0215 0.0603)
OKLCHoklch(31.12% 0.064 109.6)
XYZxyz(2.5711, 3.0803, 0.5740)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333304 #040433
analogous
#331B04 #333304 #1B3304
triadic
#333304 #043333 #330433
tetradic
#333304 #04331B #040433 #33041B
square
#333304 #04331B #040433 #33041B
split-complementary
#333304 #041B33 #1B0433
monochromatic
#1C1C02 #1C1C02 #333304 #6C6C08 #A4A40D

Accessibility & contrast

On white

13.00
#333304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#333304 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333304
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333304#FFFFFF#000000##FFFFFF
##3333041.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383000
Deuteranopia (green-blind)
#393207
Tritanopia (blue-blind)
#372F2A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #333304;
/* rgb */ color: rgb(51, 51, 4);
/* oklch */ color: oklch(31.1% 0.064 109.6);
Tailwind
colors: {
  custom: {
    50: '#6d6a49',
    500: '#333304',
    950: '#000000',
  },
}
SCSS
$custom: #333304;
$custom-light: #6d6a49;
$custom-dark: #000000;
JSON
{
  "hex": "#333304",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 4
  },
  "hsl": {
    "h": 60,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.3112,
    "c": 0.06403,
    "h": 109.6
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#333304
secondary
#1D1D75
accent
#2CFC2C
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #333304

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

Preview Lab → · Contrast checker → · Palette generator →

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