#332E04#332E04

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

Color values

HEX#332E04
RGBrgb(51, 46, 4)
HSLhsl(54, 85%, 11%)
HSVhsv(54, 92%, 20%)
CMYKcmyk(0%, 9.8%, 92.2%, 80%)
CIE-LABlab(18.66, -3.42, 24.94)
CIE-LCHlch(18.66, 25.18, 97.82°)
OKLaboklab(29.76% -0.0125 0.0571)
OKLCHoklch(29.76% 0.058 102.4)
XYZxyz(2.3643, 2.6667, 0.5050)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332E04 #040933
analogous
#331604 #332E04 #203304
triadic
#332E04 #04332E #2E0433
tetradic
#332E04 #043316 #040933 #330420
square
#332E04 #043316 #040933 #330420
split-complementary
#332E04 #042033 #160433
monochromatic
#1C1A02 #1C1A02 #332E04 #6C6108 #A4940D

Accessibility & contrast

On white

13.70
#332E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332E04
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332E04#FFFFFF#000000##FFFFFF
##332E041.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #332e04;
/* rgb */ color: rgb(51, 46, 4);
/* oklch */ color: oklch(29.8% 0.058 102.4);
Tailwind
colors: {
  custom: {
    50: '#6d6649',
    500: '#332e04',
    950: '#000000',
  },
}
SCSS
$custom: #332e04;
$custom-light: #6d6649;
$custom-dark: #000000;
JSON
{
  "hex": "#332e04",
  "rgb": {
    "r": 51,
    "g": 46,
    "b": 4
  },
  "hsl": {
    "h": 53.617,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2976,
    "c": 0.05846,
    "h": 102.4
  },
  "luminance": 0.02667
}

Semantic roles & 50–950 ramp

primary
#332E04
secondary
#1D2775
accent
#42FC2C
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #332E04

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

Preview Lab → · Contrast checker → · Palette generator →

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