#332F0A#332F0A

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

Color values

HEX#332F0A
RGBrgb(51, 47, 10)
HSLhsl(54, 67%, 12%)
HSVhsv(54, 80%, 20%)
CMYKcmyk(0%, 7.8%, 80.4%, 80%)
CIE-LABlab(19.05, -3.65, 22.96)
CIE-LCHlch(19.05, 23.25, 99.04°)
OKLaboklab(30.09% -0.0122 0.0525)
OKLCHoklch(30.09% 0.054 103.1)
XYZxyz(2.4366, 2.7589, 0.6913)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332F0A #0A0E33
analogous
#331B0A #332F0A #23330A
triadic
#332F0A #0A332F #2F0A33
tetradic
#332F0A #0A331B #0A0E33 #330A23
square
#332F0A #0A331B #0A0E33 #330A23
split-complementary
#332F0A #0A2333 #1B0A33
monochromatic
#1A1805 #1A1805 #332F0A #665E14 #998D1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##332F0A#FFFFFF#000000##FFFFFF
##332F0A1.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)
#342D06
Deuteranopia (green-blind)
#352F0C
Tritanopia (blue-blind)
#372B27
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #332f0a;
/* rgb */ color: rgb(51, 47, 10);
/* oklch */ color: oklch(30.1% 0.054 103.1);
Tailwind
colors: {
  custom: {
    50: '#6c674c',
    500: '#332f0a',
    950: '#000000',
  },
}
SCSS
$custom: #332f0a;
$custom-light: #6c674c;
$custom-dark: #000000;
JSON
{
  "hex": "#332f0a",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 10
  },
  "hsl": {
    "h": 54.146,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30091,
    "c": 0.05391,
    "h": 103.1
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#332F0A
secondary
#282F70
accent
#4FEA3E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #332F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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