#332D09#332D09

#332D09 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.5% C 0.053 H 99.7°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#332D09
RGBrgb(51, 45, 9)
HSLhsl(51, 70%, 12%)
HSVhsv(51, 82%, 20%)
CMYKcmyk(0%, 11.8%, 82.4%, 80%)
CIE-LABlab(18.37, -2.41, 22.56)
CIE-LCHlch(18.37, 22.69, 96.09°)
OKLaboklab(29.55% -0.0088 0.0519)
OKLCHoklch(29.55% 0.053 99.7)
XYZxyz(2.3530, 2.6004, 0.6364)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332D09 #090F33
analogous
#331809 #332D09 #243309
triadic
#332D09 #09332D #2D0933
tetradic
#332D09 #093318 #090F33 #330924
square
#332D09 #093318 #090F33 #330924
split-complementary
#332D09 #092433 #180933
monochromatic
#1A1705 #1A1705 #332D09 #675B12 #9B891B

Accessibility & contrast

On white

13.82
#332D09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#332D09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332D09
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332D09#FFFFFF#000000##FFFFFF
##332D091.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C05
Deuteranopia (green-blind)
#342E0B
Tritanopia (blue-blind)
#382926
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #332d09;
/* rgb */ color: rgb(51, 45, 9);
/* oklch */ color: oklch(29.5% 0.053 99.7);
Tailwind
colors: {
  custom: {
    50: '#6c654b',
    500: '#332d09',
    950: '#000000',
  },
}
SCSS
$custom: #332d09;
$custom-light: #6c654b;
$custom-dark: #000000;
JSON
{
  "hex": "#332d09",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 9
  },
  "hsl": {
    "h": 51.429,
    "s": 70,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29545,
    "c": 0.05268,
    "h": 99.7
  },
  "luminance": 0.026
}

Semantic roles & 50–950 ramp

primary
#332D09
secondary
#273171
accent
#54ED3B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #332D09

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

Preview Lab → · Contrast checker → · Palette generator →

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