#333A06#333A06

#333A06 is a dark, moderate yellow. Relative luminance 0.037; OKLCH L 33.1% C 0.071 H 117.3°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#333A06
RGBrgb(51, 58, 6)
HSLhsl(68, 81%, 13%)
HSVhsv(68, 90%, 23%)
CMYKcmyk(12.1%, 0%, 89.7%, 77.3%)
CIE-LABlab(22.80, -10.82, 28.71)
CIE-LCHlch(22.80, 30.68, 110.64°)
OKLaboklab(33.08% -0.0327 0.0634)
OKLCHoklch(33.08% 0.071 117.3)
XYZxyz(2.9112, 3.7431, 0.7414)
Luminance0.0374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333A06 #0D063A
analogous
#3A2706 #333A06 #193A06
triadic
#333A06 #06333A #3A0633
tetradic
#333A06 #063A27 #0D063A #3A0619
square
#333A06 #063A27 #0D063A #3A0619
split-complementary
#333A06 #06193A #27063A
monochromatic
#181C03 #181C03 #333A06 #64710C #95A911

Accessibility & contrast

On white

12.01
#333A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#333A06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333A06
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333A06#FFFFFF#000000##FFFFFF
##333A061.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#3E370B
Tritanopia (blue-blind)
#373630
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #333a06;
/* rgb */ color: rgb(51, 58, 6);
/* oklch */ color: oklch(33.1% 0.071 117.3);
Tailwind
colors: {
  custom: {
    50: '#6d704b',
    500: '#333a06',
    950: '#000000',
  },
}
SCSS
$custom: #333a06;
$custom-light: #6d704b;
$custom-dark: #000000;
JSON
{
  "hex": "#333a06",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 6
  },
  "hsl": {
    "h": 68.077,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.33082,
    "c": 0.07131,
    "h": 117.3
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#333A06
secondary
#2E227A
accent
#30F84B
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #333A06

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

Preview Lab → · Contrast checker → · Palette generator →

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