#332902#332902

#332902 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.4% C 0.056 H 94.0°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#332902
RGBrgb(51, 41, 2)
HSLhsl(48, 92%, 10%)
HSVhsv(48, 96%, 20%)
CMYKcmyk(0%, 19.6%, 96.1%, 80%)
CIE-LABlab(16.96, -0.25, 23.72)
CIE-LCHlch(16.96, 23.72, 90.59°)
OKLaboklab(28.41% -0.004 0.056)
OKLCHoklch(28.41% 0.056 94)
XYZxyz(2.1693, 2.2942, 0.3860)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332902 #020C33
analogous
#331002 #332902 #243302
triadic
#332902 #023329 #290233
tetradic
#332902 #023310 #020C33 #330224
square
#332902 #023310 #020C33 #330224
split-complementary
#332902 #022433 #100233
monochromatic
#1D1801 #1D1801 #332902 #6E5804 #A98807

Accessibility & contrast

On white

14.40
#332902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#332902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332902
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332902#FFFFFF#000000##FFFFFF
##3329021.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#312B04
Tritanopia (blue-blind)
#382522
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #332902;
/* rgb */ color: rgb(51, 41, 2);
/* oklch */ color: oklch(28.4% 0.056 94.0);
Tailwind
colors: {
  custom: {
    50: '#6d6248',
    500: '#332902',
    950: '#000000',
  },
}
SCSS
$custom: #332902;
$custom-light: #6d6248;
$custom-dark: #000000;
JSON
{
  "hex": "#332902",
  "rgb": {
    "r": 51,
    "g": 41,
    "b": 2
  },
  "hsl": {
    "h": 47.755,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2841,
    "c": 0.0561,
    "h": 94
  },
  "luminance": 0.02294
}

Semantic roles & 50–950 ramp

primary
#332902
secondary
#1A2D77
accent
#55FF29
background
#F6F5F4
surface
#ECEAE6
border
#C7C6C2
text
#070500
muted
#7A7977

Preview Lab

Preview with #332902

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

Preview Lab → · Contrast checker → · Palette generator →

#332902 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva