#332F04#332F04

#332F04 is a dark, muted yellow. Relative luminance 0.027; OKLCH L 30.0% C 0.059 H 103.9°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#332F04
RGBrgb(51, 47, 4)
HSLhsl(55, 85%, 11%)
HSVhsv(55, 92%, 20%)
CMYKcmyk(0%, 7.8%, 92.2%, 80%)
CIE-LABlab(19.00, -4.08, 25.34)
CIE-LCHlch(19.00, 25.66, 99.14°)
OKLaboklab(30.03% -0.0143 0.0578)
OKLCHoklch(30.03% 0.06 103.9)
XYZxyz(2.4038, 2.7457, 0.5182)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332F04 #040833
analogous
#331704 #332F04 #1F3304
triadic
#332F04 #04332F #2F0433
tetradic
#332F04 #043317 #040833 #33041F
square
#332F04 #043317 #040833 #33041F
split-complementary
#332F04 #041F33 #170433
monochromatic
#1C1A02 #1C1A02 #332F04 #6C6308 #A4980D

Accessibility & contrast

On white

13.56
#332F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332F04
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332F04#FFFFFF#000000##FFFFFF
##332F041.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D00
Deuteranopia (green-blind)
#362F07
Tritanopia (blue-blind)
#382B27
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #332f04;
/* rgb */ color: rgb(51, 47, 4);
/* oklch */ color: oklch(30.0% 0.059 103.9);
Tailwind
colors: {
  custom: {
    50: '#6d6749',
    500: '#332f04',
    950: '#000000',
  },
}
SCSS
$custom: #332f04;
$custom-light: #6d6749;
$custom-dark: #000000;
JSON
{
  "hex": "#332f04",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 54.894,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.30029,
    "c": 0.0595,
    "h": 103.9
  },
  "luminance": 0.02746
}

Semantic roles & 50–950 ramp

primary
#332F04
secondary
#1D2575
accent
#3EFC2C
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #332F04

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

Preview Lab → · Contrast checker → · Palette generator →

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