#3A400B#3A400B

#3A400B is a dark, moderate yellow. Relative luminance 0.046; OKLCH L 35.4% C 0.073 H 115.9°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#3A400B
RGBrgb(58, 64, 11)
HSLhsl(67, 71%, 15%)
HSVhsv(67, 83%, 25%)
CMYKcmyk(9.4%, 0%, 82.8%, 74.9%)
CIE-LABlab(25.53, -10.51, 29.58)
CIE-LCHlch(25.53, 31.39, 109.57°)
OKLaboklab(35.45% -0.0318 0.0655)
OKLCHoklch(35.45% 0.073 115.9)
XYZxyz(3.6388, 4.5905, 1.0109)
Luminance0.0459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A400B #110B40
analogous
#402B0B #3A400B #20400B
triadic
#3A400B #0B3A40 #400B3A
tetradic
#3A400B #0B402B #110B40 #400B20
square
#3A400B #0B402B #110B40 #400B20
split-complementary
#3A400B #0B2040 #2B0B40
monochromatic
#181A04 #181A04 #3A400B #697414 #99A81D

Accessibility & contrast

On white

10.95
#3A400B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3A400B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A400B
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A400B#FFFFFF#000000##FFFFFF
##3A400B1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C03
Deuteranopia (green-blind)
#453D0F
Tritanopia (blue-blind)
#3E3C36
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3a400b;
/* rgb */ color: rgb(58, 64, 11);
/* oklch */ color: oklch(35.4% 0.073 115.9);
Tailwind
colors: {
  custom: {
    50: '#72744e',
    500: '#3a400b',
    950: '#000000',
  },
}
SCSS
$custom: #3a400b;
$custom-light: #72744e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a400b",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 66.792,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.35446,
    "c": 0.0728,
    "h": 115.9
  },
  "luminance": 0.0459
}

Semantic roles & 50–950 ramp

primary
#3A400B
secondary
#332A7D
accent
#3AED4F
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3A400B

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

Preview Lab → · Contrast checker → · Palette generator →

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