#332F0F#332F0F

#332F0F is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.2% C 0.049 H 102.2°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#332F0F
RGBrgb(51, 47, 15)
HSLhsl(53, 55%, 13%)
HSVhsv(53, 71%, 20%)
CMYKcmyk(0%, 7.8%, 70.6%, 80%)
CIE-LABlab(19.10, -3.25, 20.68)
CIE-LCHlch(19.10, 20.94, 98.93°)
OKLaboklab(30.15% -0.0104 0.0478)
OKLCHoklch(30.15% 0.049 102.2)
XYZxyz(2.4681, 2.7714, 0.8568)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332F0F #0F1333
analogous
#331D0F #332F0F #25330F
triadic
#332F0F #0F332F #2F0F33
tetradic
#332F0F #0F331D #0F1333 #330F25
square
#332F0F #0F331D #0F1333 #330F25
split-complementary
#332F0F #0F2533 #1D0F33
monochromatic
#181607 #181607 #332F0F #625B1D #92862B

Accessibility & contrast

On white

13.51
#332F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#332F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332F0F
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332F0F#FFFFFF#000000##FFFFFF
##332F0F1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D0C
Deuteranopia (green-blind)
#352F11
Tritanopia (blue-blind)
#372B28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #332f0f;
/* rgb */ color: rgb(51, 47, 15);
/* oklch */ color: oklch(30.2% 0.049 102.2);
Tailwind
colors: {
  custom: {
    50: '#6c674f',
    500: '#332f0f',
    950: '#000000',
  },
}
SCSS
$custom: #332f0f;
$custom-light: #6c674f;
$custom-dark: #000000;
JSON
{
  "hex": "#332f0f",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 15
  },
  "hsl": {
    "h": 53.333,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30151,
    "c": 0.04893,
    "h": 102.2
  },
  "luminance": 0.02771
}

Semantic roles & 50–950 ramp

primary
#332F0F
secondary
#31376D
accent
#5ADE4A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070602
muted
#7A7A78

Preview Lab

Preview with #332F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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