#333906#333906

#333906 is a dark, moderate yellow. Relative luminance 0.036; OKLCH L 32.8% C 0.070 H 116.4°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#333906
RGBrgb(51, 57, 6)
HSLhsl(67, 81%, 12%)
HSVhsv(67, 89%, 22%)
CMYKcmyk(10.5%, 0%, 89.5%, 77.6%)
CIE-LABlab(22.46, -10.21, 28.35)
CIE-LCHlch(22.46, 30.13, 109.81°)
OKLaboklab(32.8% -0.0311 0.0627)
OKLCHoklch(32.8% 0.07 116.4)
XYZxyz(2.8613, 3.6433, 0.7247)
Luminance0.0364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333906 #0C0639
analogous
#392606 #333906 #193906
triadic
#333906 #063339 #390633
tetradic
#333906 #063926 #0C0639 #390619
square
#333906 #063926 #0C0639 #390619
split-complementary
#333906 #061939 #260639
monochromatic
#191C03 #191C03 #333906 #65700C #96A812

Accessibility & contrast

On white

12.15
#333906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#333906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333906
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333906#FFFFFF#000000##FFFFFF
##3339061.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#3D360A
Tritanopia (blue-blind)
#373530
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #333906;
/* rgb */ color: rgb(51, 57, 6);
/* oklch */ color: oklch(32.8% 0.070 116.4);
Tailwind
colors: {
  custom: {
    50: '#6d6f4b',
    500: '#333906',
    950: '#000000',
  },
}
SCSS
$custom: #333906;
$custom-light: #6d6f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#333906",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 6
  },
  "hsl": {
    "h": 67.059,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32802,
    "c": 0.06997,
    "h": 116.4
  },
  "luminance": 0.03643
}

Semantic roles & 50–950 ramp

primary
#333906
secondary
#2C2279
accent
#30F748
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #333906

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

Preview Lab → · Contrast checker → · Palette generator →

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