#3B400C#3B400C

#3B400C 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#3B400C
RGBrgb(59, 64, 12)
HSLhsl(66, 68%, 15%)
HSVhsv(66, 81%, 25%)
CMYKcmyk(7.8%, 0%, 81.2%, 74.9%)
CIE-LABlab(25.63, -9.94, 29.28)
CIE-LCHlch(25.63, 30.92, 108.76°)
OKLaboklab(35.55% -0.0302 0.065)
OKLCHoklch(35.55% 0.072 114.9)
XYZxyz(3.7035, 4.6232, 1.0450)
Luminance0.0462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B400C #110C40
analogous
#402B0C #3B400C #21400C
triadic
#3B400C #0C3B40 #400C3B
tetradic
#3B400C #0C402B #110C40 #400C21
square
#3B400C #0C402B #110C40 #400C21
split-complementary
#3B400C #0C2140 #2B0C40
monochromatic
#181A05 #181A05 #3B400C #6B7416 #9AA71F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B400C#FFFFFF#000000##FFFFFF
##3B400C1.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)
#453C04
Deuteranopia (green-blind)
#453D10
Tritanopia (blue-blind)
#3F3C36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3b400c;
/* rgb */ color: rgb(59, 64, 12);
/* oklch */ color: oklch(35.5% 0.072 114.9);
Tailwind
colors: {
  custom: {
    50: '#73744f',
    500: '#3b400c',
    950: '#000000',
  },
}
SCSS
$custom: #3b400c;
$custom-light: #73744f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b400c",
  "rgb": {
    "r": 59,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 65.769,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3555,
    "c": 0.07169,
    "h": 114.9
  },
  "luminance": 0.04623
}

Semantic roles & 50–950 ramp

primary
#3B400C
secondary
#332C7C
accent
#3DEB4D
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3B400C

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

Preview Lab → · Contrast checker → · Palette generator →

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