#332F06#332F06

#332F06 is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.0% C 0.058 H 103.7°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#332F06
RGBrgb(51, 47, 6)
HSLhsl(55, 79%, 11%)
HSVhsv(55, 88%, 20%)
CMYKcmyk(0%, 7.8%, 88.2%, 80%)
CIE-LABlab(19.01, -3.94, 24.55)
CIE-LCHlch(19.01, 24.86, 99.11°)
OKLaboklab(30.05% -0.0136 0.056)
OKLCHoklch(30.05% 0.058 103.7)
XYZxyz(2.4147, 2.7501, 0.5759)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332F06 #060A33
analogous
#331806 #332F06 #203306
triadic
#332F06 #06332F #2F0633
tetradic
#332F06 #063318 #060A33 #330620
square
#332F06 #063318 #060A33 #330620
split-complementary
#332F06 #062033 #180633
monochromatic
#1B1903 #1B1903 #332F06 #6A610C #A19413

Accessibility & contrast

On white

13.55
#332F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332F06
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332F06#FFFFFF#000000##FFFFFF
##332F061.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #332f06;
/* rgb */ color: rgb(51, 47, 6);
/* oklch */ color: oklch(30.0% 0.058 103.7);
Tailwind
colors: {
  custom: {
    50: '#6c674a',
    500: '#332f06',
    950: '#000000',
  },
}
SCSS
$custom: #332f06;
$custom-light: #6c674a;
$custom-dark: #000000;
JSON
{
  "hex": "#332f06",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 6
  },
  "hsl": {
    "h": 54.667,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.3005,
    "c": 0.05759,
    "h": 103.7
  },
  "luminance": 0.0275
}

Semantic roles & 50–950 ramp

primary
#332F06
secondary
#212974
accent
#44F532
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #332F06

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

Preview Lab → · Contrast checker → · Palette generator →

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