#333B04#333B04

#333B04 is a dark, moderate yellow. Relative luminance 0.038; OKLCH L 33.3% C 0.074 H 118.1°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#333B04
RGBrgb(51, 59, 4)
HSLhsl(69, 87%, 12%)
HSVhsv(69, 93%, 23%)
CMYKcmyk(13.6%, 0%, 93.2%, 76.9%)
CIE-LABlab(23.14, -11.54, 29.87)
CIE-LCHlch(23.14, 32.02, 111.13°)
OKLaboklab(33.35% -0.035 0.0655)
OKLCHoklch(33.35% 0.074 118.1)
XYZxyz(2.9512, 3.8405, 0.7007)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333B04 #0C043B
analogous
#3B2704 #333B04 #183B04
triadic
#333B04 #04333B #3B0433
tetradic
#333B04 #043B27 #0C043B #3B0418
square
#333B04 #043B27 #0C043B #3B0418
split-complementary
#333B04 #04183B #27043B
monochromatic
#191D02 #191D02 #333B04 #657408 #96AE0C

Accessibility & contrast

On white

11.88
#333B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#333B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333B04
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333B04#FFFFFF#000000##FFFFFF
##333B041.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403700
Deuteranopia (green-blind)
#3F3709
Tritanopia (blue-blind)
#373731
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #333b04;
/* rgb */ color: rgb(51, 59, 4);
/* oklch */ color: oklch(33.3% 0.074 118.1);
Tailwind
colors: {
  custom: {
    50: '#6d704a',
    500: '#333b04',
    950: '#000000',
  },
}
SCSS
$custom: #333b04;
$custom-light: #6d704a;
$custom-dark: #000000;
JSON
{
  "hex": "#333b04",
  "rgb": {
    "r": 51,
    "g": 59,
    "b": 4
  },
  "hsl": {
    "h": 68.727,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.33346,
    "c": 0.07423,
    "h": 118.1
  },
  "luminance": 0.03841
}

Semantic roles & 50–950 ramp

primary
#333B04
secondary
#2C1E7D
accent
#2AFD49
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #333B04

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

Preview Lab → · Contrast checker → · Palette generator →

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