#333404#333404

#333404 is a dark, moderate yellow. Relative luminance 0.032; OKLCH L 31.4% C 0.065 H 110.9°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#333404
RGBrgb(51, 52, 4)
HSLhsl(61, 86%, 11%)
HSVhsv(61, 92%, 20%)
CMYKcmyk(1.9%, 0%, 92.3%, 79.6%)
CIE-LABlab(20.71, -7.27, 27.28)
CIE-LCHlch(20.71, 28.23, 104.93°)
OKLaboklab(31.4% -0.0232 0.061)
OKLCHoklch(31.4% 0.065 110.9)
XYZxyz(2.6152, 3.1686, 0.5887)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333404 #050434
analogous
#341D04 #333404 #1B3404
triadic
#333404 #043334 #340433
tetradic
#333404 #04341D #050434 #34041B
square
#333404 #04341D #050434 #34041B
split-complementary
#333404 #041B34 #1D0434
monochromatic
#1C1C02 #1C1C02 #333404 #6B6D08 #A2A60D

Accessibility & contrast

On white

12.85
#333404 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#333404 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333404
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333404#FFFFFF#000000##FFFFFF
##3334041.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#393207
Tritanopia (blue-blind)
#37302B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #333404;
/* rgb */ color: rgb(51, 52, 4);
/* oklch */ color: oklch(31.4% 0.065 110.9);
Tailwind
colors: {
  custom: {
    50: '#6d6b49',
    500: '#333404',
    950: '#000000',
  },
}
SCSS
$custom: #333404;
$custom-light: #6d6b49;
$custom-dark: #000000;
JSON
{
  "hex": "#333404",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 4
  },
  "hsl": {
    "h": 61.25,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.31395,
    "c": 0.06524,
    "h": 110.9
  },
  "luminance": 0.03169
}

Semantic roles & 50–950 ramp

primary
#333404
secondary
#1F1E76
accent
#2CFC30
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #333404

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

Preview Lab → · Contrast checker → · Palette generator →

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