#333406#333406

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

Color values

HEX#333406
RGBrgb(51, 52, 6)
HSLhsl(61, 79%, 11%)
HSVhsv(61, 88%, 20%)
CMYKcmyk(1.9%, 0%, 88.5%, 79.6%)
CIE-LABlab(20.72, -7.13, 26.48)
CIE-LCHlch(20.72, 27.43, 105.07°)
OKLaboklab(31.41% -0.0226 0.0593)
OKLCHoklch(31.41% 0.063 110.8)
XYZxyz(2.6262, 3.1730, 0.6464)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333406 #070634
analogous
#341E06 #333406 #1C3406
triadic
#333406 #063334 #340633
tetradic
#333406 #06341E #070634 #34061C
square
#333406 #06341E #070634 #34061C
split-complementary
#333406 #061C34 #1E0634
monochromatic
#1B1B03 #1B1B03 #333406 #696B0C #9FA213

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##333406#FFFFFF#000000##FFFFFF
##3334061.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)
#393209
Tritanopia (blue-blind)
#37302B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #333406;
/* rgb */ color: rgb(51, 52, 6);
/* oklch */ color: oklch(31.4% 0.063 110.8);
Tailwind
colors: {
  custom: {
    50: '#6d6b4a',
    500: '#333406',
    950: '#000000',
  },
}
SCSS
$custom: #333406;
$custom-light: #6d6b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#333406",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 6
  },
  "hsl": {
    "h": 61.304,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.31414,
    "c": 0.06347,
    "h": 110.8
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

primary
#333406
secondary
#232174
accent
#32F636
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #333406

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

Preview Lab → · Contrast checker → · Palette generator →

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