#3F400C#3F400C

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

Color values

HEX#3F400C
RGBrgb(63, 64, 12)
HSLhsl(61, 68%, 15%)
HSVhsv(61, 81%, 25%)
CMYKcmyk(1.6%, 0%, 81.2%, 74.9%)
CIE-LABlab(26.01, -7.89, 29.77)
CIE-LCHlch(26.01, 30.80, 104.85°)
OKLaboklab(35.95% -0.0247 0.0659)
OKLCHoklch(35.95% 0.07 110.6)
XYZxyz(3.9498, 4.7502, 1.0566)
Luminance0.0475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F400C #0D0C40
analogous
#40270C #3F400C #25400C
triadic
#3F400C #0C3F40 #400C3F
tetradic
#3F400C #0C4027 #0D0C40 #400C25
square
#3F400C #0C4027 #0D0C40 #400C25
split-complementary
#3F400C #0C2540 #270C40
monochromatic
#191A05 #191A05 #3F400C #727416 #A4A71F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F400C#FFFFFF#000000##FFFFFF
##3F400C1.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)
#463D04
Deuteranopia (green-blind)
#463E10
Tritanopia (blue-blind)
#443B36
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f400c;
/* rgb */ color: rgb(63, 64, 12);
/* oklch */ color: oklch(35.9% 0.070 110.6);
Tailwind
colors: {
  custom: {
    50: '#76744f',
    500: '#3f400c',
    950: '#000000',
  },
}
SCSS
$custom: #3f400c;
$custom-light: #76744f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f400c",
  "rgb": {
    "r": 63,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 61.154,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35945,
    "c": 0.0704,
    "h": 110.6
  },
  "luminance": 0.0475
}

Semantic roles & 50–950 ramp

primary
#3F400C
secondary
#2D2C7C
accent
#3DEB40
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #3F400C

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

Preview Lab → · Contrast checker → · Palette generator →

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