#332B07#332B07

#332B07 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 29.0% C 0.053 H 96.3°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#332B07
RGBrgb(51, 43, 7)
HSLhsl(49, 76%, 11%)
HSVhsv(49, 86%, 20%)
CMYKcmyk(0%, 15.7%, 86.3%, 80%)
CIE-LABlab(17.68, -1.22, 22.56)
CIE-LCHlch(17.68, 22.59, 93.10°)
OKLaboklab(28.99% -0.0058 0.0523)
OKLCHoklch(28.99% 0.053 96.3)
XYZxyz(2.2676, 2.4470, 0.5539)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332B07 #070F33
analogous
#331507 #332B07 #253307
triadic
#332B07 #07332B #2B0733
tetradic
#332B07 #073315 #070F33 #330725
square
#332B07 #073315 #070F33 #330725
split-complementary
#332B07 #072533 #150733
monochromatic
#1B1704 #1B1704 #332B07 #69580E #9F8616

Accessibility & contrast

On white

14.10
#332B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#332B07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332B07
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332B07#FFFFFF#000000##FFFFFF
##332B071.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A03
Deuteranopia (green-blind)
#322C09
Tritanopia (blue-blind)
#382724
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #332b07;
/* rgb */ color: rgb(51, 43, 7);
/* oklch */ color: oklch(29.0% 0.053 96.3);
Tailwind
colors: {
  custom: {
    50: '#6c644a',
    500: '#332b07',
    950: '#000000',
  },
}
SCSS
$custom: #332b07;
$custom-light: #6c644a;
$custom-dark: #000000;
JSON
{
  "hex": "#332b07",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 7
  },
  "hsl": {
    "h": 49.091,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.28992,
    "c": 0.05265,
    "h": 96.3
  },
  "luminance": 0.02447
}

Semantic roles & 50–950 ramp

primary
#332B07
secondary
#233273
accent
#58F235
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #332B07

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

Preview Lab → · Contrast checker → · Palette generator →

#332B07 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva