#333204#333204

#333204 is a dark, moderate yellow. Relative luminance 0.030; OKLCH L 30.8% C 0.063 H 108.3°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#333204
RGBrgb(51, 50, 4)
HSLhsl(59, 85%, 11%)
HSVhsv(59, 92%, 20%)
CMYKcmyk(0%, 2%, 92.2%, 80%)
CIE-LABlab(20.02, -6.01, 26.51)
CIE-LCHlch(20.02, 27.18, 102.77°)
OKLaboklab(30.85% -0.0197 0.0597)
OKLCHoklch(30.85% 0.063 108.3)
XYZxyz(2.5279, 2.9939, 0.5596)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333204 #040533
analogous
#331A04 #333204 #1C3304
triadic
#333204 #043332 #320433
tetradic
#333204 #04331A #040533 #33041C
square
#333204 #04331A #040533 #33041C
split-complementary
#333204 #041C33 #1A0433
monochromatic
#1C1C02 #1C1C02 #333204 #6C6A08 #A4A10D

Accessibility & contrast

On white

13.13
#333204 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#333204 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333204
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333204#FFFFFF#000000##FFFFFF
##3332041.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373000
Deuteranopia (green-blind)
#383107
Tritanopia (blue-blind)
#382E29
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #333204;
/* rgb */ color: rgb(51, 50, 4);
/* oklch */ color: oklch(30.8% 0.063 108.3);
Tailwind
colors: {
  custom: {
    50: '#6d6949',
    500: '#333204',
    950: '#000000',
  },
}
SCSS
$custom: #333204;
$custom-light: #6d6949;
$custom-dark: #000000;
JSON
{
  "hex": "#333204",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 4
  },
  "hsl": {
    "h": 58.723,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.30845,
    "c": 0.06284,
    "h": 108.3
  },
  "luminance": 0.02994
}

Semantic roles & 50–950 ramp

primary
#333204
secondary
#1D1F75
accent
#31FC2C
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #333204

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

Preview Lab → · Contrast checker → · Palette generator →

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