#3A330F#3A330F

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

Color values

HEX#3A330F
RGBrgb(58, 51, 15)
HSLhsl(50, 59%, 14%)
HSVhsv(50, 74%, 23%)
CMYKcmyk(0%, 12.1%, 74.1%, 77.3%)
CIE-LABlab(21.21, -2.13, 23.27)
CIE-LCHlch(21.21, 23.37, 95.22°)
OKLaboklab(32.01% -0.0077 0.053)
OKLCHoklch(32.01% 0.054 98.3)
XYZxyz(3.0151, 3.3018, 0.9303)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A330F #0F163A
analogous
#3A1E0F #3A330F #2C3A0F
triadic
#3A330F #0F3A33 #330F3A
tetradic
#3A330F #0F3A1E #0F163A #3A0F2C
square
#3A330F #0F3A1E #0F163A #3A0F2C
split-complementary
#3A330F #0F2C3A #1E0F3A
monochromatic
#181506 #181506 #3A330F #6B5E1C #9B8928

Accessibility & contrast

On white

12.65
#3A330F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A330F
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A330F#FFFFFF#000000##FFFFFF
##3A330F1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320B
Deuteranopia (green-blind)
#3A3411
Tritanopia (blue-blind)
#3F2F2B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3a330f;
/* rgb */ color: rgb(58, 51, 15);
/* oklch */ color: oklch(32.0% 0.054 98.3);
Tailwind
colors: {
  custom: {
    50: '#726a4f',
    500: '#3a330f',
    950: '#000000',
  },
}
SCSS
$custom: #3a330f;
$custom-light: #726a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a330f",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 15
  },
  "hsl": {
    "h": 50.233,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.3201,
    "c": 0.05354,
    "h": 98.3
  },
  "luminance": 0.03302
}

Semantic roles & 50–950 ramp

primary
#3A330F
secondary
#303B74
accent
#5FE246
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080602
muted
#7B7A78

Preview Lab

Preview with #3A330F

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

Preview Lab → · Contrast checker → · Palette generator →

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