#3D400C#3D400C

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

Color values

HEX#3D400C
RGBrgb(61, 64, 12)
HSLhsl(63, 68%, 15%)
HSVhsv(63, 81%, 25%)
CMYKcmyk(4.7%, 0%, 81.2%, 74.9%)
CIE-LABlab(25.82, -8.92, 29.52)
CIE-LCHlch(25.82, 30.84, 106.82°)
OKLaboklab(35.74% -0.0275 0.0655)
OKLCHoklch(35.74% 0.071 112.8)
XYZxyz(3.8243, 4.6855, 1.0507)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D400C #0F0C40
analogous
#40290C #3D400C #23400C
triadic
#3D400C #0C3D40 #400C3D
tetradic
#3D400C #0C4029 #0F0C40 #400C23
square
#3D400C #0C4029 #0F0C40 #400C23
split-complementary
#3D400C #0C2340 #290C40
monochromatic
#191A05 #191A05 #3D400C #6E7416 #9FA71F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D400C#FFFFFF#000000##FFFFFF
##3D400C1.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)
#453D04
Deuteranopia (green-blind)
#463E10
Tritanopia (blue-blind)
#423C36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d400c;
/* rgb */ color: rgb(61, 64, 12);
/* oklch */ color: oklch(35.7% 0.071 112.8);
Tailwind
colors: {
  custom: {
    50: '#75744f',
    500: '#3d400c',
    950: '#000000',
  },
}
SCSS
$custom: #3d400c;
$custom-light: #75744f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d400c",
  "rgb": {
    "r": 61,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 63.462,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35745,
    "c": 0.07099,
    "h": 112.8
  },
  "luminance": 0.04685
}

Semantic roles & 50–950 ramp

primary
#3D400C
secondary
#302C7C
accent
#3DEB47
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3D400C

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

Preview Lab → · Contrast checker → · Palette generator →

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