#333B06#333B06

#333B06 is a dark, moderate yellow. Relative luminance 0.038; OKLCH L 33.4% C 0.073 H 118.2°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#333B06
RGBrgb(51, 59, 6)
HSLhsl(69, 82%, 13%)
HSVhsv(69, 90%, 23%)
CMYKcmyk(13.6%, 0%, 89.8%, 76.9%)
CIE-LABlab(23.15, -11.41, 29.07)
CIE-LCHlch(23.15, 31.23, 111.43°)
OKLaboklab(33.36% -0.0344 0.064)
OKLCHoklch(33.36% 0.073 118.2)
XYZxyz(2.9621, 3.8449, 0.7584)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333B06 #0E063B
analogous
#3B2806 #333B06 #183B06
triadic
#333B06 #06333B #3B0633
tetradic
#333B06 #063B28 #0E063B #3B0618
square
#333B06 #063B28 #0E063B #3B0618
split-complementary
#333B06 #06183B #28063B
monochromatic
#181C03 #181C03 #333B06 #63730C #93AA11

Accessibility & contrast

On white

11.87
#333B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333B06
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333B06#FFFFFF#000000##FFFFFF
##333B061.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333b06;
/* rgb */ color: rgb(51, 59, 6);
/* oklch */ color: oklch(33.4% 0.073 118.2);
Tailwind
colors: {
  custom: {
    50: '#6d704b',
    500: '#333b06',
    950: '#000000',
  },
}
SCSS
$custom: #333b06;
$custom-light: #6d704b;
$custom-dark: #000000;
JSON
{
  "hex": "#333b06",
  "rgb": {
    "r": 51,
    "g": 59,
    "b": 6
  },
  "hsl": {
    "h": 69.057,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.33362,
    "c": 0.07267,
    "h": 118.2
  },
  "luminance": 0.03845
}

Semantic roles & 50–950 ramp

primary
#333B06
secondary
#2F227B
accent
#30F84E
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #333B06

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

Preview Lab → · Contrast checker → · Palette generator →

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