#3B400A#3B400A

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

Color values

HEX#3B400A
RGBrgb(59, 64, 10)
HSLhsl(66, 73%, 15%)
HSVhsv(66, 84%, 25%)
CMYKcmyk(7.8%, 0%, 84.4%, 74.9%)
CIE-LABlab(25.62, -10.06, 30.10)
CIE-LCHlch(25.62, 31.73, 108.48°)
OKLaboklab(35.53% -0.0307 0.0663)
OKLCHoklch(35.53% 0.073 114.9)
XYZxyz(3.6919, 4.6186, 0.9841)
Luminance0.0462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B400A #0F0A40
analogous
#402A0A #3B400A #20400A
triadic
#3B400A #0A3B40 #400A3B
tetradic
#3B400A #0A402A #0F0A40 #400A20
square
#3B400A #0A402A #0F0A40 #400A20
split-complementary
#3B400A #0A2040 #2A0A40
monochromatic
#181A04 #181A04 #3B400A #6C7512 #9DAA1B

Accessibility & contrast

On white

10.92
#3B400A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B400A
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B400A#FFFFFF#000000##FFFFFF
##3B400A1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C02
Deuteranopia (green-blind)
#453D0F
Tritanopia (blue-blind)
#3F3C36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3b400a;
/* rgb */ color: rgb(59, 64, 10);
/* oklch */ color: oklch(35.5% 0.073 114.9);
Tailwind
colors: {
  custom: {
    50: '#73744e',
    500: '#3b400a',
    950: '#000000',
  },
}
SCSS
$custom: #3b400a;
$custom-light: #73744e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b400a",
  "rgb": {
    "r": 59,
    "g": 64,
    "b": 10
  },
  "hsl": {
    "h": 65.556,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.35534,
    "c": 0.0731,
    "h": 114.9
  },
  "luminance": 0.04619
}

Semantic roles & 50–950 ramp

primary
#3B400A
secondary
#30297D
accent
#38F049
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3B400A

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

Preview Lab → · Contrast checker → · Palette generator →

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