#333104#333104

#333104 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.6% C 0.062 H 106.9°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#333104
RGBrgb(51, 49, 4)
HSLhsl(57, 85%, 11%)
HSVhsv(57, 92%, 20%)
CMYKcmyk(0%, 3.9%, 92.2%, 80%)
CIE-LABlab(19.68, -5.37, 26.12)
CIE-LCHlch(19.68, 26.67, 101.61°)
OKLaboklab(30.57% -0.0179 0.059)
OKLCHoklch(30.57% 0.062 106.9)
XYZxyz(2.4856, 2.9093, 0.5455)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333104 #040633
analogous
#331904 #333104 #1D3304
triadic
#333104 #043331 #310433
tetradic
#333104 #043319 #040633 #33041D
square
#333104 #043319 #040633 #33041D
split-complementary
#333104 #041D33 #190433
monochromatic
#1C1B02 #1C1B02 #333104 #6C6808 #A49E0D

Accessibility & contrast

On white

13.28
#333104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#333104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333104
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333104#FFFFFF#000000##FFFFFF
##3331041.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F00
Deuteranopia (green-blind)
#373007
Tritanopia (blue-blind)
#382D29
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #333104;
/* rgb */ color: rgb(51, 49, 4);
/* oklch */ color: oklch(30.6% 0.062 106.9);
Tailwind
colors: {
  custom: {
    50: '#6d6849',
    500: '#333104',
    950: '#000000',
  },
}
SCSS
$custom: #333104;
$custom-light: #6d6849;
$custom-dark: #000000;
JSON
{
  "hex": "#333104",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 4
  },
  "hsl": {
    "h": 57.447,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.30572,
    "c": 0.0617,
    "h": 106.9
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#333104
secondary
#1D2175
accent
#35FC2C
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #333104

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

Preview Lab → · Contrast checker → · Palette generator →

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