#333808#333808

#333808 is a dark, moderate yellow. Relative luminance 0.035; OKLCH L 32.5% C 0.067 H 115.5°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#333808
RGBrgb(51, 56, 8)
HSLhsl(66, 75%, 13%)
HSVhsv(66, 86%, 22%)
CMYKcmyk(8.9%, 0%, 85.7%, 78%)
CIE-LABlab(22.12, -9.47, 27.19)
CIE-LCHlch(22.12, 28.79, 109.21°)
OKLaboklab(32.54% -0.0288 0.0605)
OKLCHoklch(32.54% 0.067 115.5)
XYZxyz(2.8233, 3.5497, 0.7661)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333808 #0D0838
analogous
#382508 #333808 #1B3808
triadic
#333808 #083338 #380833
tetradic
#333808 #083825 #0D0838 #38081B
square
#333808 #083825 #0D0838 #38081B
split-complementary
#333808 #081B38 #250838
monochromatic
#181B04 #181B04 #333808 #646E10 #95A317

Accessibility & contrast

On white

12.28
#333808 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#333808 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333808
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333808#FFFFFF#000000##FFFFFF
##3338081.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3502
Deuteranopia (green-blind)
#3C350C
Tritanopia (blue-blind)
#37342F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #333808;
/* rgb */ color: rgb(51, 56, 8);
/* oklch */ color: oklch(32.5% 0.067 115.5);
Tailwind
colors: {
  custom: {
    50: '#6d6e4c',
    500: '#333808',
    950: '#000000',
  },
}
SCSS
$custom: #333808;
$custom-light: #6d6e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#333808",
  "rgb": {
    "r": 51,
    "g": 56,
    "b": 8
  },
  "hsl": {
    "h": 66.25,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.3254,
    "c": 0.06701,
    "h": 115.5
  },
  "luminance": 0.0355
}

Semantic roles & 50–950 ramp

primary
#333808
secondary
#2E2577
accent
#36F24A
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #333808

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

Preview Lab → · Contrast checker → · Palette generator →

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