#3B400B#3B400B

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

Color values

HEX#3B400B
RGBrgb(59, 64, 11)
HSLhsl(66, 71%, 15%)
HSVhsv(66, 83%, 25%)
CMYKcmyk(7.8%, 0%, 82.8%, 74.9%)
CIE-LABlab(25.63, -10.00, 29.69)
CIE-LCHlch(25.63, 31.33, 108.62°)
OKLaboklab(35.54% -0.0305 0.0657)
OKLCHoklch(35.54% 0.072 114.9)
XYZxyz(3.6975, 4.6208, 1.0137)
Luminance0.0462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B400B #100B40
analogous
#402B0B #3B400B #21400B
triadic
#3B400B #0B3B40 #400B3B
tetradic
#3B400B #0B402B #100B40 #400B21
square
#3B400B #0B402B #100B40 #400B21
split-complementary
#3B400B #0B2140 #2B0B40
monochromatic
#181A04 #181A04 #3B400B #6B7414 #9BA81D

Accessibility & contrast

On white

10.91
#3B400B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B400B
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B400B#FFFFFF#000000##FFFFFF
##3B400B1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b400b;
/* rgb */ color: rgb(59, 64, 11);
/* oklch */ color: oklch(35.5% 0.072 114.9);
Tailwind
colors: {
  custom: {
    50: '#73744e',
    500: '#3b400b',
    950: '#000000',
  },
}
SCSS
$custom: #3b400b;
$custom-light: #73744e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b400b",
  "rgb": {
    "r": 59,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 65.66,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.35542,
    "c": 0.07241,
    "h": 114.9
  },
  "luminance": 0.04621
}

Semantic roles & 50–950 ramp

primary
#3B400B
secondary
#322A7D
accent
#3AED4B
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3B400B

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

Preview Lab → · Contrast checker → · Palette generator →

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