#332E03#332E03

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

Color values

HEX#332E03
RGBrgb(51, 46, 3)
HSLhsl(54, 89%, 11%)
HSVhsv(54, 94%, 20%)
CMYKcmyk(0%, 9.8%, 94.1%, 80%)
CIE-LABlab(18.65, -3.50, 25.34)
CIE-LCHlch(18.65, 25.58, 97.86°)
OKLaboklab(29.75% -0.0129 0.058)
OKLCHoklch(29.75% 0.059 102.5)
XYZxyz(2.3588, 2.6645, 0.4762)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332E03 #030833
analogous
#331603 #332E03 #203303
triadic
#332E03 #03332E #2E0333
tetradic
#332E03 #033316 #030833 #330320
square
#332E03 #033316 #030833 #330320
split-complementary
#332E03 #032033 #160333
monochromatic
#1D1A02 #1D1A02 #332E03 #6D6206 #A7960A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##332E03#FFFFFF#000000##FFFFFF
##332E031.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)
#352E05
Tritanopia (blue-blind)
#382A26
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #332e03;
/* rgb */ color: rgb(51, 46, 3);
/* oklch */ color: oklch(29.7% 0.059 102.5);
Tailwind
colors: {
  custom: {
    50: '#6d6648',
    500: '#332e03',
    950: '#000000',
  },
}
SCSS
$custom: #332e03;
$custom-light: #6d6648;
$custom-dark: #000000;
JSON
{
  "hex": "#332e03",
  "rgb": {
    "r": 51,
    "g": 46,
    "b": 3
  },
  "hsl": {
    "h": 53.75,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29749,
    "c": 0.05944,
    "h": 102.5
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#332E03
secondary
#1C2576
accent
#3FFF29
background
#F6F6F4
surface
#ECEBE6
border
#C7C6C2
text
#070500
muted
#7A7A77

Preview Lab

Preview with #332E03

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

Preview Lab → · Contrast checker → · Palette generator →

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