#332F0B#332F0B

#332F0B is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.1% C 0.053 H 103.0°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#332F0B
RGBrgb(51, 47, 11)
HSLhsl(54, 65%, 12%)
HSVhsv(54, 78%, 20%)
CMYKcmyk(0%, 7.8%, 78.4%, 80%)
CIE-LABlab(19.06, -3.58, 22.55)
CIE-LCHlch(19.06, 22.84, 99.02°)
OKLaboklab(30.1% -0.0119 0.0517)
OKLCHoklch(30.1% 0.053 103)
XYZxyz(2.4423, 2.7611, 0.7208)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332F0B #0B0F33
analogous
#331B0B #332F0B #23330B
triadic
#332F0B #0B332F #2F0B33
tetradic
#332F0B #0B331B #0B0F33 #330B23
square
#332F0B #0B331B #0B0F33 #330B23
split-complementary
#332F0B #0B2333 #1B0B33
monochromatic
#191705 #191705 #332F0B #655D16 #988C21

Accessibility & contrast

On white

13.53
#332F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332F0B
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332F0B#FFFFFF#000000##FFFFFF
##332F0B1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #332f0b;
/* rgb */ color: rgb(51, 47, 11);
/* oklch */ color: oklch(30.1% 0.053 103.0);
Tailwind
colors: {
  custom: {
    50: '#6c674c',
    500: '#332f0b',
    950: '#000000',
  },
}
SCSS
$custom: #332f0b;
$custom-light: #6c674c;
$custom-dark: #000000;
JSON
{
  "hex": "#332f0b",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 54,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30102,
    "c": 0.053,
    "h": 103
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#332F0B
secondary
#2A3170
accent
#51E840
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #332F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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