#3D400E#3D400E

#3D400E 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#3D400E
RGBrgb(61, 64, 14)
HSLhsl(64, 64%, 15%)
HSVhsv(64, 78%, 25%)
CMYKcmyk(4.7%, 0%, 78.1%, 74.9%)
CIE-LABlab(25.83, -8.80, 28.65)
CIE-LCHlch(25.83, 29.97, 107.07°)
OKLaboklab(35.76% -0.0269 0.064)
OKLCHoklch(35.76% 0.069 112.8)
XYZxyz(3.8372, 4.6907, 1.1186)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D400E #110E40
analogous
#402A0E #3D400E #24400E
triadic
#3D400E #0E3D40 #400E3D
tetradic
#3D400E #0E402A #110E40 #400E24
square
#3D400E #0E402A #110E40 #400E24
split-complementary
#3D400E #0E2440 #2A0E40
monochromatic
#181905 #181905 #3D400E #6D7219 #9DA424

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D400E#FFFFFF#000000##FFFFFF
##3D400E1.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)
#453D06
Deuteranopia (green-blind)
#453E12
Tritanopia (blue-blind)
#423C36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d400e;
/* rgb */ color: rgb(61, 64, 14);
/* oklch */ color: oklch(35.8% 0.069 112.8);
Tailwind
colors: {
  custom: {
    50: '#747450',
    500: '#3d400e',
    950: '#000000',
  },
}
SCSS
$custom: #3d400e;
$custom-light: #747450;
$custom-dark: #000000;
JSON
{
  "hex": "#3d400e",
  "rgb": {
    "r": 61,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 63.6,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.35762,
    "c": 0.06945,
    "h": 112.8
  },
  "luminance": 0.04691
}

Semantic roles & 50–950 ramp

primary
#3D400E
secondary
#332F7B
accent
#41E74B
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3D400E

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

Preview Lab → · Contrast checker → · Palette generator →

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