#3D400D#3D400D

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

Color values

HEX#3D400D
RGBrgb(61, 64, 13)
HSLhsl(64, 66%, 15%)
HSVhsv(64, 80%, 25%)
CMYKcmyk(4.7%, 0%, 79.7%, 74.9%)
CIE-LABlab(25.83, -8.86, 29.09)
CIE-LCHlch(25.83, 30.41, 106.94°)
OKLaboklab(35.75% -0.0272 0.0648)
OKLCHoklch(35.75% 0.07 112.8)
XYZxyz(3.8306, 4.6880, 1.0838)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D400D #100D40
analogous
#40290D #3D400D #24400D
triadic
#3D400D #0D3D40 #400D3D
tetradic
#3D400D #0D4029 #100D40 #400D24
square
#3D400D #0D4029 #100D40 #400D24
split-complementary
#3D400D #0D2440 #290D40
monochromatic
#181905 #181905 #3D400D #6D7317 #9EA622

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D400D#FFFFFF#000000##FFFFFF
##3D400D1.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)
#453D05
Deuteranopia (green-blind)
#453E11
Tritanopia (blue-blind)
#423C36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d400d;
/* rgb */ color: rgb(61, 64, 13);
/* oklch */ color: oklch(35.8% 0.070 112.8);
Tailwind
colors: {
  custom: {
    50: '#747450',
    500: '#3d400d',
    950: '#000000',
  },
}
SCSS
$custom: #3d400d;
$custom-light: #747450;
$custom-dark: #000000;
JSON
{
  "hex": "#3d400d",
  "rgb": {
    "r": 61,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 63.529,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.35753,
    "c": 0.07024,
    "h": 112.8
  },
  "luminance": 0.04688
}

Semantic roles & 50–950 ramp

primary
#3D400D
secondary
#322D7C
accent
#3FE949
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3D400D

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

Preview Lab → · Contrast checker → · Palette generator →

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