#332B06#332B06

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

Color values

HEX#332B06
RGBrgb(51, 43, 6)
HSLhsl(49, 79%, 11%)
HSVhsv(49, 88%, 20%)
CMYKcmyk(0%, 15.7%, 88.2%, 80%)
CIE-LABlab(17.67, -1.29, 22.95)
CIE-LCHlch(17.67, 22.99, 93.23°)
OKLaboklab(28.98% -0.0061 0.0533)
OKLCHoklch(28.98% 0.054 96.6)
XYZxyz(2.2621, 2.4448, 0.5250)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332B06 #060E33
analogous
#331406 #332B06 #243306
triadic
#332B06 #06332B #2B0633
tetradic
#332B06 #063314 #060E33 #330624
square
#332B06 #063314 #060E33 #330624
split-complementary
#332B06 #062433 #140633
monochromatic
#1B1703 #1B1703 #332B06 #6A590C #A18713

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##332B06#FFFFFF#000000##FFFFFF
##332B061.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)
#302A02
Deuteranopia (green-blind)
#332C08
Tritanopia (blue-blind)
#382724
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #332b06;
/* rgb */ color: rgb(51, 43, 6);
/* oklch */ color: oklch(29.0% 0.054 96.6);
Tailwind
colors: {
  custom: {
    50: '#6c644a',
    500: '#332b06',
    950: '#000000',
  },
}
SCSS
$custom: #332b06;
$custom-light: #6c644a;
$custom-dark: #000000;
JSON
{
  "hex": "#332b06",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 6
  },
  "hsl": {
    "h": 49.333,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28981,
    "c": 0.05362,
    "h": 96.6
  },
  "luminance": 0.02445
}

Semantic roles & 50–950 ramp

primary
#332B06
secondary
#213074
accent
#55F532
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #332B06

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

Preview Lab → · Contrast checker → · Palette generator →

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