#333806#333806

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

Color values

HEX#333806
RGBrgb(51, 56, 6)
HSLhsl(66, 81%, 12%)
HSVhsv(66, 89%, 22%)
CMYKcmyk(8.9%, 0%, 89.3%, 78%)
CIE-LABlab(22.11, -9.61, 27.98)
CIE-LCHlch(22.11, 29.59, 108.95°)
OKLaboklab(32.52% -0.0294 0.062)
OKLCHoklch(32.52% 0.069 115.4)
XYZxyz(2.8124, 3.5454, 0.7084)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333806 #0B0638
analogous
#382406 #333806 #1A3806
triadic
#333806 #063338 #380633
tetradic
#333806 #063824 #0B0638 #38061A
square
#333806 #063824 #0B0638 #38061A
split-complementary
#333806 #061A38 #240638
monochromatic
#191C03 #191C03 #333806 #656F0C #98A712

Accessibility & contrast

On white

12.29
#333806 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333806
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333806#FFFFFF#000000##FFFFFF
##3338061.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333806;
/* rgb */ color: rgb(51, 56, 6);
/* oklch */ color: oklch(32.5% 0.069 115.4);
Tailwind
colors: {
  custom: {
    50: '#6d6e4b',
    500: '#333806',
    950: '#000000',
  },
}
SCSS
$custom: #333806;
$custom-light: #6d6e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#333806",
  "rgb": {
    "r": 51,
    "g": 56,
    "b": 6
  },
  "hsl": {
    "h": 66,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.32523,
    "c": 0.06863,
    "h": 115.4
  },
  "luminance": 0.03545
}

Semantic roles & 50–950 ramp

primary
#333806
secondary
#2A2178
accent
#31F745
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #333806

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

Preview Lab → · Contrast checker → · Palette generator →

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