#333A0A#333A0A

#333A0A is a dark, moderate yellow. Relative luminance 0.038; OKLCH L 33.1% C 0.068 H 117.6°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#333A0A
RGBrgb(51, 58, 10)
HSLhsl(69, 71%, 13%)
HSVhsv(69, 83%, 23%)
CMYKcmyk(12.1%, 0%, 82.8%, 77.3%)
CIE-LABlab(22.83, -10.56, 27.11)
CIE-LCHlch(22.83, 29.10, 111.27°)
OKLaboklab(33.12% -0.0315 0.0605)
OKLCHoklch(33.12% 0.068 117.6)
XYZxyz(2.9331, 3.7519, 0.8568)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333A0A #110A3A
analogous
#3A290A #333A0A #1B3A0A
triadic
#333A0A #0A333A #3A0A33
tetradic
#333A0A #0A3A29 #110A3A #3A0A1B
square
#333A0A #0A3A29 #110A3A #3A0A1B
split-complementary
#333A0A #0A1B3A #290A3A
monochromatic
#171A05 #171A05 #333A0A #616E13 #8FA21C

Accessibility & contrast

On white

12.00
#333A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333A0A
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333A0A#FFFFFF#000000##FFFFFF
##333A0A1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3603
Deuteranopia (green-blind)
#3E370E
Tritanopia (blue-blind)
#373631
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #333a0a;
/* rgb */ color: rgb(51, 58, 10);
/* oklch */ color: oklch(33.1% 0.068 117.6);
Tailwind
colors: {
  custom: {
    50: '#6c704d',
    500: '#333a0a',
    950: '#000000',
  },
}
SCSS
$custom: #333a0a;
$custom-light: #6c704d;
$custom-dark: #000000;
JSON
{
  "hex": "#333a0a",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 10
  },
  "hsl": {
    "h": 68.75,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33116,
    "c": 0.06821,
    "h": 117.6
  },
  "luminance": 0.03752
}

Semantic roles & 50–950 ramp

primary
#333A0A
secondary
#342877
accent
#3AED55
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #333A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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