#3D420F#3D420F

#3D420F is a dark, moderate yellow. Relative luminance 0.049; OKLCH L 36.3% C 0.071 H 114.8°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#3D420F
RGBrgb(61, 66, 15)
HSLhsl(66, 63%, 16%)
HSVhsv(66, 77%, 26%)
CMYKcmyk(7.6%, 0%, 77.3%, 74.1%)
CIE-LABlab(26.51, -9.93, 28.87)
CIE-LCHlch(26.51, 30.53, 108.98°)
OKLaboklab(36.31% -0.0299 0.0647)
OKLCHoklch(36.31% 0.071 114.8)
XYZxyz(3.9590, 4.9231, 1.1935)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D420F #140F42
analogous
#422D0F #3D420F #23420F
triadic
#3D420F #0F3D42 #420F3D
tetradic
#3D420F #0F422D #140F42 #420F23
square
#3D420F #0F422D #140F42 #420F23
split-complementary
#3D420F #0F2342 #2D0F42
monochromatic
#171906 #171906 #3D420F #6B741A #99A626

Accessibility & contrast

On white

10.58
#3D420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3D420F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D420F
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D420F#FFFFFF#000000##FFFFFF
##3D420F1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E07
Deuteranopia (green-blind)
#473F13
Tritanopia (blue-blind)
#413E38
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d420f;
/* rgb */ color: rgb(61, 66, 15);
/* oklch */ color: oklch(36.3% 0.071 114.8);
Tailwind
colors: {
  custom: {
    50: '#747651',
    500: '#3d420f',
    950: '#000000',
  },
}
SCSS
$custom: #3d420f;
$custom-light: #747651;
$custom-dark: #000000;
JSON
{
  "hex": "#3d420f",
  "rgb": {
    "r": 61,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 65.882,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36309,
    "c": 0.07129,
    "h": 114.8
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#3D420F
secondary
#38307C
accent
#42E652
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3D420F

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

Preview Lab → · Contrast checker → · Palette generator →

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