#333004#333004

#333004 is a dark, moderate yellow. Relative luminance 0.028; OKLCH L 30.3% C 0.061 H 105.5°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#333004
RGBrgb(51, 48, 4)
HSLhsl(56, 85%, 11%)
HSVhsv(56, 92%, 20%)
CMYKcmyk(0%, 5.9%, 92.2%, 80%)
CIE-LABlab(19.34, -4.73, 25.73)
CIE-LCHlch(19.34, 26.16, 100.41°)
OKLaboklab(30.3% -0.0161 0.0584)
OKLCHoklch(30.3% 0.061 105.5)
XYZxyz(2.4442, 2.8266, 0.5317)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333004 #040733
analogous
#331804 #333004 #1E3304
triadic
#333004 #043330 #300433
tetradic
#333004 #043318 #040733 #33041E
square
#333004 #043318 #040733 #33041E
split-complementary
#333004 #041E33 #180433
monochromatic
#1C1B02 #1C1B02 #333004 #6C6508 #A49B0D

Accessibility & contrast

On white

13.42
#333004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#333004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333004
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333004#FFFFFF#000000##FFFFFF
##3330041.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E00
Deuteranopia (green-blind)
#363007
Tritanopia (blue-blind)
#382C28
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #333004;
/* rgb */ color: rgb(51, 48, 4);
/* oklch */ color: oklch(30.3% 0.061 105.5);
Tailwind
colors: {
  custom: {
    50: '#6d6849',
    500: '#333004',
    950: '#000000',
  },
}
SCSS
$custom: #333004;
$custom-light: #6d6849;
$custom-dark: #000000;
JSON
{
  "hex": "#333004",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 4
  },
  "hsl": {
    "h": 56.17,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.303,
    "c": 0.06058,
    "h": 105.5
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

primary
#333004
secondary
#1D2375
accent
#39FC2C
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #333004

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

Preview Lab → · Contrast checker → · Palette generator →

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