#3F400D#3F400D

#3F400D is a dark, moderate yellow. Relative luminance 0.048; OKLCH L 36.0% C 0.070 H 110.6°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#3F400D
RGBrgb(63, 64, 13)
HSLhsl(61, 66%, 15%)
HSVhsv(61, 80%, 25%)
CMYKcmyk(1.6%, 0%, 79.7%, 74.9%)
CIE-LABlab(26.02, -7.83, 29.35)
CIE-LCHlch(26.02, 30.37, 104.95°)
OKLaboklab(35.95% -0.0245 0.0652)
OKLCHoklch(35.95% 0.07 110.6)
XYZxyz(3.9561, 4.7527, 1.0897)
Luminance0.0475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F400D #0E0D40
analogous
#40270D #3F400D #26400D
triadic
#3F400D #0D3F40 #400D3F
tetradic
#3F400D #0D4027 #0E0D40 #400D26
square
#3F400D #0D4027 #0E0D40 #400D26
split-complementary
#3F400D #0D2640 #270D40
monochromatic
#191905 #191905 #3F400D #717317 #A3A622

Accessibility & contrast

On white

10.77
#3F400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3F400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F400D
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F400D#FFFFFF#000000##FFFFFF
##3F400D1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D05
Deuteranopia (green-blind)
#463E11
Tritanopia (blue-blind)
#443B36
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f400d;
/* rgb */ color: rgb(63, 64, 13);
/* oklch */ color: oklch(36.0% 0.070 110.6);
Tailwind
colors: {
  custom: {
    50: '#767450',
    500: '#3f400d',
    950: '#000000',
  },
}
SCSS
$custom: #3f400d;
$custom-light: #767450;
$custom-dark: #000000;
JSON
{
  "hex": "#3f400d",
  "rgb": {
    "r": 63,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 61.176,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.35953,
    "c": 0.06966,
    "h": 110.6
  },
  "luminance": 0.04753
}

Semantic roles & 50–950 ramp

primary
#3F400D
secondary
#2F2D7C
accent
#3FE942
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #3F400D

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

Preview Lab → · Contrast checker → · Palette generator →

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