#332702#332702

#332702 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.9% C 0.055 H 90.1°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#332702
RGBrgb(51, 39, 2)
HSLhsl(45, 92%, 10%)
HSVhsv(45, 96%, 20%)
CMYKcmyk(0%, 23.5%, 96.1%, 80%)
CIE-LABlab(16.30, 1.11, 22.91)
CIE-LCHlch(16.30, 22.94, 87.23°)
OKLaboklab(27.89% -0.0001 0.0548)
OKLCHoklch(27.89% 0.055 90.1)
XYZxyz(2.1019, 2.1594, 0.3635)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332702 #020E33
analogous
#330E02 #332702 #263302
triadic
#332702 #023327 #270233
tetradic
#332702 #02330E #020E33 #330226
square
#332702 #02330E #020E33 #330226
split-complementary
#332702 #022633 #0E0233
monochromatic
#1D1701 #1D1701 #332702 #6E5404 #A98107

Accessibility & contrast

On white

14.67
#332702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#332702 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332702
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332702#FFFFFF#000000##FFFFFF
##3327021.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#302A04
Tritanopia (blue-blind)
#382220
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #332702;
/* rgb */ color: rgb(51, 39, 2);
/* oklch */ color: oklch(27.9% 0.055 90.1);
Tailwind
colors: {
  custom: {
    50: '#6d6047',
    500: '#332702',
    950: '#000000',
  },
}
SCSS
$custom: #332702;
$custom-light: #6d6047;
$custom-dark: #000000;
JSON
{
  "hex": "#332702",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 2
  },
  "hsl": {
    "h": 45.306,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2789,
    "c": 0.05477,
    "h": 90.1
  },
  "luminance": 0.02159
}

Semantic roles & 50–950 ramp

primary
#332702
secondary
#1A3077
accent
#5DFF29
background
#F6F5F4
surface
#ECE9E6
border
#C7C5C2
text
#070500
muted
#7A7977

Preview Lab

Preview with #332702

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

Preview Lab → · Contrast checker → · Palette generator →

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