#333A05#333A05

#333A05 is a dark, moderate yellow. Relative luminance 0.037; OKLCH L 33.1% C 0.072 H 117.3°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#333A05
RGBrgb(51, 58, 5)
HSLhsl(68, 84%, 12%)
HSVhsv(68, 91%, 23%)
CMYKcmyk(12.1%, 0%, 91.4%, 77.3%)
CIE-LABlab(22.80, -10.88, 29.11)
CIE-LCHlch(22.80, 31.08, 110.49°)
OKLaboklab(33.07% -0.0331 0.0641)
OKLCHoklch(33.07% 0.072 117.3)
XYZxyz(2.9058, 3.7409, 0.7125)
Luminance0.0374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333A05 #0C053A
analogous
#3A2705 #333A05 #183A05
triadic
#333A05 #05333A #3A0533
tetradic
#333A05 #053A27 #0C053A #3A0518
square
#333A05 #053A27 #0C053A #3A0518
split-complementary
#333A05 #05183A #27053A
monochromatic
#191C02 #191C02 #333A05 #65720A #96AB0F

Accessibility & contrast

On white

12.01
#333A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#333A05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333A05
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333A05#FFFFFF#000000##FFFFFF
##333A051.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#3E370A
Tritanopia (blue-blind)
#373630
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #333a05;
/* rgb */ color: rgb(51, 58, 5);
/* oklch */ color: oklch(33.1% 0.072 117.3);
Tailwind
colors: {
  custom: {
    50: '#6d704a',
    500: '#333a05',
    950: '#000000',
  },
}
SCSS
$custom: #333a05;
$custom-light: #6d704a;
$custom-dark: #000000;
JSON
{
  "hex": "#333a05",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 5
  },
  "hsl": {
    "h": 67.925,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.33073,
    "c": 0.0721,
    "h": 117.3
  },
  "luminance": 0.03741
}

Semantic roles & 50–950 ramp

primary
#333A05
secondary
#2C207B
accent
#2DFA48
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #333A05

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

Preview Lab → · Contrast checker → · Palette generator →

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