#3A330B#3A330B

#3A330B is a dark, muted yellow. Relative luminance 0.033; OKLCH L 32.0% C 0.057 H 99.1°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#3A330B
RGBrgb(58, 51, 11)
HSLhsl(51, 68%, 14%)
HSVhsv(51, 81%, 23%)
CMYKcmyk(0%, 12.1%, 81%, 77.3%)
CIE-LABlab(21.18, -2.41, 25.15)
CIE-LCHlch(21.18, 25.26, 95.48°)
OKLaboklab(31.97% -0.0091 0.0565)
OKLCHoklch(31.97% 0.057 99.1)
XYZxyz(2.9893, 3.2915, 0.7944)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A330B #0B123A
analogous
#3A1B0B #3A330B #293A0B
triadic
#3A330B #0B3A33 #330B3A
tetradic
#3A330B #0B3A1B #0B123A #3A0B29
square
#3A330B #0B3A1B #0B123A #3A0B29
split-complementary
#3A330B #0B293A #1B0B3A
monochromatic
#1A1705 #1A1705 #3A330B #6D6015 #A18D1F

Accessibility & contrast

On white

12.66
#3A330B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3A330B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A330B
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A330B#FFFFFF#000000##FFFFFF
##3A330B1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393106
Deuteranopia (green-blind)
#3B340D
Tritanopia (blue-blind)
#3F2F2B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3a330b;
/* rgb */ color: rgb(58, 51, 11);
/* oklch */ color: oklch(32.0% 0.057 99.1);
Tailwind
colors: {
  custom: {
    50: '#726a4d',
    500: '#3a330b',
    950: '#000000',
  },
}
SCSS
$custom: #3a330b;
$custom-light: #726a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a330b",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 11
  },
  "hsl": {
    "h": 51.064,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.31966,
    "c": 0.05718,
    "h": 99.1
  },
  "luminance": 0.03291
}

Semantic roles & 50–950 ramp

primary
#3A330B
secondary
#2A3577
accent
#57EB3D
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A330B

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

Preview Lab → · Contrast checker → · Palette generator →

#3A330B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva