#333108#333108

#333108 is a dark, muted yellow. Relative luminance 0.029; OKLCH L 30.6% C 0.058 H 106.6°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#333108
RGBrgb(51, 49, 8)
HSLhsl(57, 73%, 12%)
HSVhsv(57, 84%, 20%)
CMYKcmyk(0%, 3.9%, 84.3%, 80%)
CIE-LABlab(19.71, -5.09, 24.54)
CIE-LCHlch(19.71, 25.06, 101.72°)
OKLaboklab(30.61% -0.0165 0.0556)
OKLCHoklch(30.61% 0.058 106.6)
XYZxyz(2.5075, 2.9181, 0.6608)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333108 #080A33
analogous
#331C08 #333108 #203308
triadic
#333108 #083331 #310833
tetradic
#333108 #08331C #080A33 #330820
square
#333108 #08331C #080A33 #330820
split-complementary
#333108 #082033 #1C0833
monochromatic
#1A1904 #1A1904 #333108 #686410 #9D9719

Accessibility & contrast

On white

13.26
#333108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#333108 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333108
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333108#FFFFFF#000000##FFFFFF
##3331081.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F03
Deuteranopia (green-blind)
#37300B
Tritanopia (blue-blind)
#372D29
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #333108;
/* rgb */ color: rgb(51, 49, 8);
/* oklch */ color: oklch(30.6% 0.058 106.6);
Tailwind
colors: {
  custom: {
    50: '#6c684b',
    500: '#333108',
    950: '#000000',
  },
}
SCSS
$custom: #333108;
$custom-light: #6c684b;
$custom-dark: #000000;
JSON
{
  "hex": "#333108",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 8
  },
  "hsl": {
    "h": 57.209,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30612,
    "c": 0.05803,
    "h": 106.6
  },
  "luminance": 0.02918
}

Semantic roles & 50–950 ramp

primary
#333108
secondary
#252972
accent
#41F038
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #333108

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

Preview Lab → · Contrast checker → · Palette generator →

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