#333408#333408

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

Color values

HEX#333408
RGBrgb(51, 52, 8)
HSLhsl(61, 73%, 12%)
HSVhsv(61, 85%, 20%)
CMYKcmyk(1.9%, 0%, 84.6%, 79.6%)
CIE-LABlab(20.74, -7.00, 25.69)
CIE-LCHlch(20.74, 26.62, 105.23°)
OKLaboklab(31.43% -0.0219 0.0577)
OKLCHoklch(31.43% 0.062 110.8)
XYZxyz(2.6372, 3.1774, 0.7041)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333408 #090834
analogous
#341F08 #333408 #1D3408
triadic
#333408 #083334 #340833
tetradic
#333408 #08341F #090834 #34081D
square
#333408 #08341F #090834 #34081D
split-complementary
#333408 #081D34 #1F0834
monochromatic
#1A1B04 #1A1B04 #333408 #676910 #9B9E18

Accessibility & contrast

On white

12.84
#333408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#333408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333408
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333408#FFFFFF#000000##FFFFFF
##3334081.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333408;
/* rgb */ color: rgb(51, 52, 8);
/* oklch */ color: oklch(31.4% 0.062 110.8);
Tailwind
colors: {
  custom: {
    50: '#6c6b4b',
    500: '#333408',
    950: '#000000',
  },
}
SCSS
$custom: #333408;
$custom-light: #6c6b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#333408",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 8
  },
  "hsl": {
    "h": 61.364,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.31433,
    "c": 0.06173,
    "h": 110.8
  },
  "luminance": 0.03177
}

Semantic roles & 50–950 ramp

primary
#333408
secondary
#272573
accent
#38F03C
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #333408

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

Preview Lab → · Contrast checker → · Palette generator →

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