#333B0A#333B0A

#333B0A is a dark, moderate yellow. Relative luminance 0.039; OKLCH L 33.4% C 0.070 H 118.5°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#333B0A
RGBrgb(51, 59, 10)
HSLhsl(70, 71%, 14%)
HSVhsv(70, 83%, 23%)
CMYKcmyk(13.6%, 0%, 83.1%, 76.9%)
CIE-LABlab(23.18, -11.15, 27.47)
CIE-LCHlch(23.18, 29.65, 112.09°)
OKLaboklab(33.4% -0.0332 0.0612)
OKLCHoklch(33.4% 0.07 118.5)
XYZxyz(2.9841, 3.8537, 0.8737)
Luminance0.0385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333B0A #120A3B
analogous
#3B2A0A #333B0A #1A3B0A
triadic
#333B0A #0A333B #3B0A33
tetradic
#333B0A #0A3B2A #120A3B #3B0A1A
square
#333B0A #0A3B2A #120A3B #3B0A1A
split-complementary
#333B0A #0A1A3B #2A0A3B
monochromatic
#171A04 #171A04 #333B0A #606F13 #8DA41C

Accessibility & contrast

On white

11.86
#333B0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#333B0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333B0A
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333B0A#FFFFFF#000000##FFFFFF
##333B0A1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3703
Deuteranopia (green-blind)
#3F370E
Tritanopia (blue-blind)
#373732
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #333b0a;
/* rgb */ color: rgb(51, 59, 10);
/* oklch */ color: oklch(33.4% 0.070 118.5);
Tailwind
colors: {
  custom: {
    50: '#6d704d',
    500: '#333b0a',
    950: '#000000',
  },
}
SCSS
$custom: #333b0a;
$custom-light: #6d704d;
$custom-dark: #000000;
JSON
{
  "hex": "#333b0a",
  "rgb": {
    "r": 51,
    "g": 59,
    "b": 10
  },
  "hsl": {
    "h": 69.796,
    "s": 71.014,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33396,
    "c": 0.06961,
    "h": 118.5
  },
  "luminance": 0.03854
}

Semantic roles & 50–950 ramp

primary
#333B0A
secondary
#352878
accent
#3AEE57
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #333B0A

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

Preview Lab → · Contrast checker → · Palette generator →

#333B0A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva