#3D400F#3D400F

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

Color values

HEX#3D400F
RGBrgb(61, 64, 15)
HSLhsl(64, 62%, 15%)
HSVhsv(64, 77%, 25%)
CMYKcmyk(4.7%, 0%, 76.6%, 74.9%)
CIE-LABlab(25.84, -8.73, 28.20)
CIE-LCHlch(25.84, 29.52, 107.20°)
OKLaboklab(35.77% -0.0266 0.0633)
OKLCHoklch(35.77% 0.069 112.8)
XYZxyz(3.8442, 4.6935, 1.1553)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D400F #120F40
analogous
#402A0F #3D400F #24400F
triadic
#3D400F #0F3D40 #400F3D
tetradic
#3D400F #0F402A #120F40 #400F24
square
#3D400F #0F402A #120F40 #400F24
split-complementary
#3D400F #0F2440 #2A0F40
monochromatic
#181906 #181906 #3D400F #6C721B #9CA326

Accessibility & contrast

On white

10.83
#3D400F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D400F
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D400F#FFFFFF#000000##FFFFFF
##3D400F1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D08
Deuteranopia (green-blind)
#453E13
Tritanopia (blue-blind)
#423C36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d400f;
/* rgb */ color: rgb(61, 64, 15);
/* oklch */ color: oklch(35.8% 0.069 112.8);
Tailwind
colors: {
  custom: {
    50: '#747451',
    500: '#3d400f',
    950: '#000000',
  },
}
SCSS
$custom: #3d400f;
$custom-light: #747451;
$custom-dark: #000000;
JSON
{
  "hex": "#3d400f",
  "rgb": {
    "r": 61,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 63.673,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.35771,
    "c": 0.06863,
    "h": 112.8
  },
  "luminance": 0.04693
}

Semantic roles & 50–950 ramp

primary
#3D400F
secondary
#35307A
accent
#43E54D
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3D400F

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

Preview Lab → · Contrast checker → · Palette generator →

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