#332C07#332C07

#332C07 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.3% C 0.054 H 98.2°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#332C07
RGBrgb(51, 44, 7)
HSLhsl(50, 76%, 11%)
HSVhsv(50, 86%, 20%)
CMYKcmyk(0%, 13.7%, 86.3%, 80%)
CIE-LABlab(18.01, -1.89, 22.96)
CIE-LCHlch(18.01, 23.03, 94.70°)
OKLaboklab(29.26% -0.0077 0.053)
OKLCHoklch(29.26% 0.054 98.2)
XYZxyz(2.3044, 2.5206, 0.5661)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332C07 #070E33
analogous
#331607 #332C07 #243307
triadic
#332C07 #07332C #2C0733
tetradic
#332C07 #073316 #070E33 #330724
square
#332C07 #073316 #070E33 #330724
split-complementary
#332C07 #072433 #160733
monochromatic
#1B1704 #1B1704 #332C07 #695A0E #9F8916

Accessibility & contrast

On white

13.96
#332C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332C07
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332C07#FFFFFF#000000##FFFFFF
##332C071.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B03
Deuteranopia (green-blind)
#332D09
Tritanopia (blue-blind)
#382825
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #332c07;
/* rgb */ color: rgb(51, 44, 7);
/* oklch */ color: oklch(29.3% 0.054 98.2);
Tailwind
colors: {
  custom: {
    50: '#6c644a',
    500: '#332c07',
    950: '#000000',
  },
}
SCSS
$custom: #332c07;
$custom-light: #6c644a;
$custom-dark: #000000;
JSON
{
  "hex": "#332c07",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 50.455,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29257,
    "c": 0.05357,
    "h": 98.2
  },
  "luminance": 0.02521
}

Semantic roles & 50–950 ramp

primary
#332C07
secondary
#233073
accent
#53F235
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #332C07

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

Preview Lab → · Contrast checker → · Palette generator →

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