#332B0F#332B0F

#332B0F is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.1% C 0.045 H 93.5°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#332B0F
RGBrgb(51, 43, 15)
HSLhsl(47, 55%, 13%)
HSVhsv(47, 71%, 20%)
CMYKcmyk(0%, 15.7%, 70.6%, 80%)
CIE-LABlab(17.77, -0.60, 19.10)
CIE-LCHlch(17.77, 19.11, 91.79°)
OKLaboklab(29.09% -0.0027 0.0446)
OKLCHoklch(29.09% 0.045 93.5)
XYZxyz(2.3154, 2.4662, 0.8059)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332B0F #0F1733
analogous
#33190F #332B0F #29330F
triadic
#332B0F #0F332B #2B0F33
tetradic
#332B0F #0F3319 #0F1733 #330F29
square
#332B0F #0F3319 #0F1733 #330F29
split-complementary
#332B0F #0F2933 #190F33
monochromatic
#181407 #181407 #332B0F #62531D #927B2B

Accessibility & contrast

On white

14.06
#332B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332B0F
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332B0F#FFFFFF#000000##FFFFFF
##332B0F1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0C
Deuteranopia (green-blind)
#322D10
Tritanopia (blue-blind)
#372725
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #332b0f;
/* rgb */ color: rgb(51, 43, 15);
/* oklch */ color: oklch(29.1% 0.045 93.5);
Tailwind
colors: {
  custom: {
    50: '#6c644e',
    500: '#332b0f',
    950: '#000000',
  },
}
SCSS
$custom: #332b0f;
$custom-light: #6c644e;
$custom-dark: #000000;
JSON
{
  "hex": "#332b0f",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 15
  },
  "hsl": {
    "h": 46.667,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2909,
    "c": 0.04468,
    "h": 93.5
  },
  "luminance": 0.02466
}

Semantic roles & 50–950 ramp

primary
#332B0F
secondary
#313E6D
accent
#6BDE4A
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #332B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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