#332D10#332D10

#332D10 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.6% C 0.046 H 97.8°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#332D10
RGBrgb(51, 45, 16)
HSLhsl(50, 52%, 13%)
HSVhsv(50, 69%, 20%)
CMYKcmyk(0%, 11.8%, 68.6%, 80%)
CIE-LABlab(18.44, -1.84, 19.37)
CIE-LCHlch(18.44, 19.46, 95.42°)
OKLaboklab(29.63% -0.0062 0.0451)
OKLCHoklch(29.63% 0.046 97.8)
XYZxyz(2.3972, 2.6181, 0.8692)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332D10 #101633
analogous
#331B10 #332D10 #273310
triadic
#332D10 #10332D #2D1033
tetradic
#332D10 #10331B #101633 #331027
square
#332D10 #10331B #101633 #331027
split-complementary
#332D10 #102733 #1B1033
monochromatic
#171507 #171507 #332D10 #62561F #907F2D

Accessibility & contrast

On white

13.78
#332D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#332D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332D10
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332D10#FFFFFF#000000##FFFFFF
##332D101.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0D
Deuteranopia (green-blind)
#332E11
Tritanopia (blue-blind)
#372927
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #332d10;
/* rgb */ color: rgb(51, 45, 16);
/* oklch */ color: oklch(29.6% 0.046 97.8);
Tailwind
colors: {
  custom: {
    50: '#6c654f',
    500: '#332d10',
    950: '#000000',
  },
}
SCSS
$custom: #332d10;
$custom-light: #6c654f;
$custom-dark: #000000;
JSON
{
  "hex": "#332d10",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 16
  },
  "hsl": {
    "h": 49.714,
    "s": 52.239,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29631,
    "c": 0.04555,
    "h": 97.8
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#332D10
secondary
#323C6C
accent
#65DC4C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070502
muted
#7A7A78

Preview Lab

Preview with #332D10

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

Preview Lab → · Contrast checker → · Palette generator →

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