#332807#332807

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

Color values

HEX#332807
RGBrgb(51, 40, 7)
HSLhsl(45, 76%, 11%)
HSVhsv(45, 86%, 20%)
CMYKcmyk(0%, 21.6%, 86.3%, 80%)
CIE-LABlab(16.68, 0.80, 21.35)
CIE-LCHlch(16.68, 21.36, 87.86°)
OKLaboklab(28.21% 0 0.0503)
OKLCHoklch(28.21% 0.05 90)
XYZxyz(2.1625, 2.2369, 0.5188)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332807 #071233
analogous
#331207 #332807 #283307
triadic
#332807 #073328 #280733
tetradic
#332807 #073312 #071233 #330728
square
#332807 #073312 #071233 #330728
split-complementary
#332807 #072833 #120733
monochromatic
#1B1504 #1B1504 #332807 #69520E #9F7C16

Accessibility & contrast

On white

14.51
#332807 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332807
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332807#FFFFFF#000000##FFFFFF
##3328071.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2704
Deuteranopia (green-blind)
#302A08
Tritanopia (blue-blind)
#382421
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #332807;
/* rgb */ color: rgb(51, 40, 7);
/* oklch */ color: oklch(28.2% 0.050 90.0);
Tailwind
colors: {
  custom: {
    50: '#6c614a',
    500: '#332807',
    950: '#000000',
  },
}
SCSS
$custom: #332807;
$custom-light: #6c614a;
$custom-dark: #000000;
JSON
{
  "hex": "#332807",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 7
  },
  "hsl": {
    "h": 45,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.28208,
    "c": 0.05027,
    "h": 90
  },
  "luminance": 0.02237
}

Semantic roles & 50–950 ramp

primary
#332807
secondary
#233773
accent
#65F235
background
#F6F5F4
surface
#ECE9E7
border
#C7C5C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #332807

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

Preview Lab → · Contrast checker → · Palette generator →

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