#333704#333704

#333704 is a dark, moderate yellow. Relative luminance 0.034; OKLCH L 32.2% C 0.069 H 114.3°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#333704
RGBrgb(51, 55, 4)
HSLhsl(65, 86%, 12%)
HSVhsv(65, 93%, 22%)
CMYKcmyk(7.3%, 0%, 92.7%, 78.4%)
CIE-LABlab(21.74, -9.13, 28.41)
CIE-LCHlch(21.74, 29.84, 107.82°)
OKLaboklab(32.23% -0.0284 0.0629)
OKLCHoklch(32.23% 0.069 114.3)
XYZxyz(2.7534, 3.4450, 0.6347)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333704 #080437
analogous
#372204 #333704 #1A3704
triadic
#333704 #043337 #370433
tetradic
#333704 #043722 #080437 #37041A
square
#333704 #043722 #080437 #37041A
split-complementary
#333704 #041A37 #220437
monochromatic
#1A1D02 #1A1D02 #333704 #687008 #9DA90C

Accessibility & contrast

On white

12.43
#333704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#333704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333704
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333704#FFFFFF#000000##FFFFFF
##3337041.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#3C3508
Tritanopia (blue-blind)
#37332E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #333704;
/* rgb */ color: rgb(51, 55, 4);
/* oklch */ color: oklch(32.2% 0.069 114.3);
Tailwind
colors: {
  custom: {
    50: '#6d6d4a',
    500: '#333704',
    950: '#000000',
  },
}
SCSS
$custom: #333704;
$custom-light: #6d6d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#333704",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 4
  },
  "hsl": {
    "h": 64.706,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.32226,
    "c": 0.06899,
    "h": 114.3
  },
  "luminance": 0.03445
}

Semantic roles & 50–950 ramp

primary
#333704
secondary
#251E79
accent
#2BFD3C
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #333704

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

Preview Lab → · Contrast checker → · Palette generator →

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