#332F09#332F09

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

Color values

HEX#332F09
RGBrgb(51, 47, 9)
HSLhsl(54, 70%, 12%)
HSVhsv(54, 82%, 20%)
CMYKcmyk(0%, 7.8%, 82.4%, 80%)
CIE-LABlab(19.04, -3.72, 23.36)
CIE-LCHlch(19.04, 23.65, 99.05°)
OKLaboklab(30.08% -0.0126 0.0534)
OKLCHoklch(30.08% 0.055 103.2)
XYZxyz(2.4312, 2.7567, 0.6624)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332F09 #090D33
analogous
#331A09 #332F09 #223309
triadic
#332F09 #09332F #2F0933
tetradic
#332F09 #09331A #090D33 #330922
square
#332F09 #09331A #090D33 #330922
split-complementary
#332F09 #092233 #1A0933
monochromatic
#1A1805 #1A1805 #332F09 #675F12 #9B8F1B

Accessibility & contrast

On white

13.54
#332F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332F09
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332F09#FFFFFF#000000##FFFFFF
##332F091.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D05
Deuteranopia (green-blind)
#352F0B
Tritanopia (blue-blind)
#382B27
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #332f09;
/* rgb */ color: rgb(51, 47, 9);
/* oklch */ color: oklch(30.1% 0.055 103.2);
Tailwind
colors: {
  custom: {
    50: '#6c674b',
    500: '#332f09',
    950: '#000000',
  },
}
SCSS
$custom: #332f09;
$custom-light: #6c674b;
$custom-dark: #000000;
JSON
{
  "hex": "#332f09",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 9
  },
  "hsl": {
    "h": 54.286,
    "s": 70,
    "l": 11.765
  },
  "oklch": {
    "l": 0.30081,
    "c": 0.05482,
    "h": 103.2
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#332F09
secondary
#272E71
accent
#4CED3B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #332F09

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

Preview Lab → · Contrast checker → · Palette generator →

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