#332D07#332D07

#332D07 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.5% C 0.055 H 100.1°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#332D07
RGBrgb(51, 45, 7)
HSLhsl(52, 76%, 11%)
HSVhsv(52, 86%, 20%)
CMYKcmyk(0%, 11.8%, 86.3%, 80%)
CIE-LABlab(18.35, -2.55, 23.36)
CIE-LCHlch(18.35, 23.49, 96.23°)
OKLaboklab(29.52% -0.0095 0.0537)
OKLCHoklch(29.52% 0.055 100.1)
XYZxyz(2.3421, 2.5960, 0.5787)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332D07 #070D33
analogous
#331707 #332D07 #233307
triadic
#332D07 #07332D #2D0733
tetradic
#332D07 #073317 #070D33 #330723
square
#332D07 #073317 #070D33 #330723
split-complementary
#332D07 #072333 #170733
monochromatic
#1B1804 #1B1804 #332D07 #695C0E #9F8C16

Accessibility & contrast

On white

13.82
#332D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332D07
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332D07#FFFFFF#000000##FFFFFF
##332D071.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B03
Deuteranopia (green-blind)
#342E09
Tritanopia (blue-blind)
#382926
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #332d07;
/* rgb */ color: rgb(51, 45, 7);
/* oklch */ color: oklch(29.5% 0.055 100.1);
Tailwind
colors: {
  custom: {
    50: '#6c654a',
    500: '#332d07',
    950: '#000000',
  },
}
SCSS
$custom: #332d07;
$custom-light: #6c654a;
$custom-dark: #000000;
JSON
{
  "hex": "#332d07",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 7
  },
  "hsl": {
    "h": 51.818,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29523,
    "c": 0.05455,
    "h": 100.1
  },
  "luminance": 0.02596
}

Semantic roles & 50–950 ramp

primary
#332D07
secondary
#232E73
accent
#4FF235
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #332D07

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

Preview Lab → · Contrast checker → · Palette generator →

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