#332E06#332E06

#332E06 is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.8% C 0.057 H 102.0°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#332E06
RGBrgb(51, 46, 6)
HSLhsl(53, 79%, 11%)
HSVhsv(53, 88%, 20%)
CMYKcmyk(0%, 9.8%, 88.2%, 80%)
CIE-LABlab(18.68, -3.28, 24.15)
CIE-LCHlch(18.68, 24.37, 97.74°)
OKLaboklab(29.78% -0.0118 0.0553)
OKLCHoklch(29.78% 0.057 102)
XYZxyz(2.3752, 2.6711, 0.5627)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332E06 #060B33
analogous
#331706 #332E06 #213306
triadic
#332E06 #06332E #2E0633
tetradic
#332E06 #063317 #060B33 #330621
square
#332E06 #063317 #060B33 #330621
split-complementary
#332E06 #062133 #170633
monochromatic
#1B1903 #1B1903 #332E06 #6A5F0C #A19113

Accessibility & contrast

On white

13.69
#332E06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#332E06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332E06
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332E06#FFFFFF#000000##FFFFFF
##332E061.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C02
Deuteranopia (green-blind)
#352E08
Tritanopia (blue-blind)
#382A26
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #332e06;
/* rgb */ color: rgb(51, 46, 6);
/* oklch */ color: oklch(29.8% 0.057 102.0);
Tailwind
colors: {
  custom: {
    50: '#6c664a',
    500: '#332e06',
    950: '#000000',
  },
}
SCSS
$custom: #332e06;
$custom-light: #6c664a;
$custom-dark: #000000;
JSON
{
  "hex": "#332e06",
  "rgb": {
    "r": 51,
    "g": 46,
    "b": 6
  },
  "hsl": {
    "h": 53.333,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29781,
    "c": 0.05653,
    "h": 102
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#332E06
secondary
#212A74
accent
#48F532
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #332E06

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

Preview Lab → · Contrast checker → · Palette generator →

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