#332803#332803

#332803 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.2% C 0.054 H 91.7°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#332803
RGBrgb(51, 40, 3)
HSLhsl(46, 89%, 11%)
HSVhsv(46, 94%, 20%)
CMYKcmyk(0%, 21.6%, 94.1%, 80%)
CIE-LABlab(16.64, 0.50, 22.92)
CIE-LCHlch(16.64, 22.93, 88.74°)
OKLaboklab(28.16% -0.0016 0.0543)
OKLCHoklch(28.16% 0.054 91.7)
XYZxyz(2.1406, 2.2281, 0.4035)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332803 #030E33
analogous
#331003 #332803 #263303
triadic
#332803 #033328 #280333
tetradic
#332803 #033310 #030E33 #330326
square
#332803 #033310 #030E33 #330326
split-complementary
#332803 #032633 #100333
monochromatic
#1D1702 #1D1702 #332803 #6D5506 #A7830A

Accessibility & contrast

On white

14.53
#332803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#332803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332803
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332803#FFFFFF#000000##FFFFFF
##3328031.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#312A05
Tritanopia (blue-blind)
#382421
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #332803;
/* rgb */ color: rgb(51, 40, 3);
/* oklch */ color: oklch(28.2% 0.054 91.7);
Tailwind
colors: {
  custom: {
    50: '#6d6148',
    500: '#332803',
    950: '#000000',
  },
}
SCSS
$custom: #332803;
$custom-light: #6d6148;
$custom-dark: #000000;
JSON
{
  "hex": "#332803",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 3
  },
  "hsl": {
    "h": 46.25,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28161,
    "c": 0.05434,
    "h": 91.7
  },
  "luminance": 0.02228
}

Semantic roles & 50–950 ramp

primary
#332803
secondary
#1C3076
accent
#5AFF29
background
#F6F5F4
surface
#ECE9E6
border
#C7C5C2
text
#070500
muted
#7A7977

Preview Lab

Preview with #332803

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

Preview Lab → · Contrast checker → · Palette generator →

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