#3E400D#3E400D

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

Color values

HEX#3E400D
RGBrgb(62, 64, 13)
HSLhsl(62, 66%, 15%)
HSVhsv(62, 80%, 25%)
CMYKcmyk(3.1%, 0%, 79.7%, 74.9%)
CIE-LABlab(25.92, -8.35, 29.22)
CIE-LCHlch(25.92, 30.39, 105.95°)
OKLaboklab(35.85% -0.0258 0.065)
OKLCHoklch(35.85% 0.07 111.7)
XYZxyz(3.8928, 4.7201, 1.0867)
Luminance0.0472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E400D #0F0D40
analogous
#40280D #3E400D #24400D
triadic
#3E400D #0D3E40 #400D3E
tetradic
#3E400D #0D4028 #0F0D40 #400D24
square
#3E400D #0D4028 #0F0D40 #400D24
split-complementary
#3E400D #0D2440 #280D40
monochromatic
#191905 #191905 #3E400D #6F7317 #A1A622

Accessibility & contrast

On white

10.80
#3E400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E400D
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E400D#FFFFFF#000000##FFFFFF
##3E400D1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D05
Deuteranopia (green-blind)
#463E11
Tritanopia (blue-blind)
#433C36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e400d;
/* rgb */ color: rgb(62, 64, 13);
/* oklch */ color: oklch(35.9% 0.070 111.7);
Tailwind
colors: {
  custom: {
    50: '#757450',
    500: '#3e400d',
    950: '#000000',
  },
}
SCSS
$custom: #3e400d;
$custom-light: #757450;
$custom-dark: #000000;
JSON
{
  "hex": "#3e400d",
  "rgb": {
    "r": 62,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 62.353,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.35853,
    "c": 0.06993,
    "h": 111.7
  },
  "luminance": 0.0472
}

Semantic roles & 50–950 ramp

primary
#3E400D
secondary
#302D7C
accent
#3FE945
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #3E400D

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

Preview Lab → · Contrast checker → · Palette generator →

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