#332F05#332F05

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

Color values

HEX#332F05
RGBrgb(51, 47, 5)
HSLhsl(55, 82%, 11%)
HSVhsv(55, 90%, 20%)
CMYKcmyk(0%, 7.8%, 90.2%, 80%)
CIE-LABlab(19.00, -4.00, 24.94)
CIE-LCHlch(19.00, 25.26, 99.12°)
OKLaboklab(30.04% -0.014 0.0569)
OKLCHoklch(30.04% 0.059 103.8)
XYZxyz(2.4093, 2.7479, 0.5470)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332F05 #050933
analogous
#331805 #332F05 #203305
triadic
#332F05 #05332F #2F0533
tetradic
#332F05 #053318 #050933 #330520
square
#332F05 #053318 #050933 #330520
split-complementary
#332F05 #052033 #180533
monochromatic
#1C1A03 #1C1A03 #332F05 #6B620A #A29610

Accessibility & contrast

On white

13.55
#332F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#332F05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332F05
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332F05#FFFFFF#000000##FFFFFF
##332F051.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D00
Deuteranopia (green-blind)
#362F08
Tritanopia (blue-blind)
#382B27
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #332f05;
/* rgb */ color: rgb(51, 47, 5);
/* oklch */ color: oklch(30.0% 0.059 103.8);
Tailwind
colors: {
  custom: {
    50: '#6c6749',
    500: '#332f05',
    950: '#000000',
  },
}
SCSS
$custom: #332f05;
$custom-light: #6c6749;
$custom-dark: #000000;
JSON
{
  "hex": "#332f05",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 5
  },
  "hsl": {
    "h": 54.783,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.3004,
    "c": 0.05854,
    "h": 103.8
  },
  "luminance": 0.02748
}

Semantic roles & 50–950 ramp

primary
#332F05
secondary
#1F2774
accent
#41F82F
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #332F05

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

Preview Lab → · Contrast checker → · Palette generator →

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