#332C03#332C03

#332C03 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.2% C 0.058 H 99.2°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#332C03
RGBrgb(51, 44, 3)
HSLhsl(51, 89%, 11%)
HSVhsv(51, 94%, 20%)
CMYKcmyk(0%, 13.7%, 94.1%, 80%)
CIE-LABlab(17.97, -2.18, 24.54)
CIE-LCHlch(17.97, 24.64, 95.07°)
OKLaboklab(29.21% -0.0092 0.0568)
OKLCHoklch(29.21% 0.058 99.2)
XYZxyz(2.2825, 2.5119, 0.4507)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332C03 #030A33
analogous
#331403 #332C03 #223303
triadic
#332C03 #03332C #2C0333
tetradic
#332C03 #033314 #030A33 #330322
square
#332C03 #033314 #030A33 #330322
split-complementary
#332C03 #032233 #140333
monochromatic
#1D1902 #1D1902 #332C03 #6D5E06 #A7900A

Accessibility & contrast

On white

13.98
#332C03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#332C03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332C03
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332C03#FFFFFF#000000##FFFFFF
##332C031.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#332D05
Tritanopia (blue-blind)
#382824
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #332c03;
/* rgb */ color: rgb(51, 44, 3);
/* oklch */ color: oklch(29.2% 0.058 99.2);
Tailwind
colors: {
  custom: {
    50: '#6d6448',
    500: '#332c03',
    950: '#000000',
  },
}
SCSS
$custom: #332c03;
$custom-light: #6d6448;
$custom-dark: #000000;
JSON
{
  "hex": "#332c03",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 3
  },
  "hsl": {
    "h": 51.25,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29213,
    "c": 0.05753,
    "h": 99.2
  },
  "luminance": 0.02512
}

Semantic roles & 50–950 ramp

primary
#332C03
secondary
#1C2976
accent
#48FF29
background
#F6F6F4
surface
#ECEBE6
border
#C7C6C2
text
#070500
muted
#7A7A77

Preview Lab

Preview with #332C03

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

Preview Lab → · Contrast checker → · Palette generator →

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