#3D400B#3D400B

#3D400B is a dark, moderate yellow. Relative luminance 0.047; OKLCH L 35.7% C 0.072 H 112.8°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#3D400B
RGBrgb(61, 64, 11)
HSLhsl(63, 71%, 15%)
HSVhsv(63, 83%, 25%)
CMYKcmyk(4.7%, 0%, 82.8%, 74.9%)
CIE-LABlab(25.81, -8.98, 29.94)
CIE-LCHlch(25.81, 31.26, 106.70°)
OKLaboklab(35.74% -0.0277 0.0661)
OKLCHoklch(35.74% 0.072 112.8)
XYZxyz(3.8184, 4.6831, 1.0193)
Luminance0.0468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D400B #0E0B40
analogous
#40290B #3D400B #23400B
triadic
#3D400B #0B3D40 #400B3D
tetradic
#3D400B #0B4029 #0E0B40 #400B23
square
#3D400B #0B4029 #0E0B40 #400B23
split-complementary
#3D400B #0B2340 #290B40
monochromatic
#191A04 #191A04 #3D400B #6F7414 #A1A81D

Accessibility & contrast

On white

10.84
#3D400B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3D400B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D400B
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D400B#FFFFFF#000000##FFFFFF
##3D400B1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D03
Deuteranopia (green-blind)
#463E0F
Tritanopia (blue-blind)
#423C36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d400b;
/* rgb */ color: rgb(61, 64, 11);
/* oklch */ color: oklch(35.7% 0.072 112.8);
Tailwind
colors: {
  custom: {
    50: '#75744e',
    500: '#3d400b',
    950: '#000000',
  },
}
SCSS
$custom: #3d400b;
$custom-light: #75744e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d400b",
  "rgb": {
    "r": 61,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 63.396,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.35737,
    "c": 0.07172,
    "h": 112.8
  },
  "luminance": 0.04683
}

Semantic roles & 50–950 ramp

primary
#3D400B
secondary
#2F2A7D
accent
#3AED44
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3D400B

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

Preview Lab → · Contrast checker → · Palette generator →

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