#3F400A#3F400A

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

Color values

HEX#3F400A
RGBrgb(63, 64, 10)
HSLhsl(61, 73%, 15%)
HSVhsv(61, 84%, 25%)
CMYKcmyk(1.6%, 0%, 84.4%, 74.9%)
CIE-LABlab(26.00, -8.01, 30.59)
CIE-LCHlch(26.00, 31.62, 104.67°)
OKLaboklab(35.93% -0.0253 0.0672)
OKLCHoklch(35.93% 0.072 110.6)
XYZxyz(3.9382, 4.7456, 0.9956)
Luminance0.0474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F400A #0B0A40
analogous
#40260A #3F400A #24400A
triadic
#3F400A #0A3F40 #400A3F
tetradic
#3F400A #0A4026 #0B0A40 #400A24
square
#3F400A #0A4026 #0B0A40 #400A24
split-complementary
#3F400A #0A2440 #260A40
monochromatic
#1A1A04 #1A1A04 #3F400A #737512 #A7AA1B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F400A#FFFFFF#000000##FFFFFF
##3F400A1.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)
#463D02
Deuteranopia (green-blind)
#463E0E
Tritanopia (blue-blind)
#443B36
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f400a;
/* rgb */ color: rgb(63, 64, 10);
/* oklch */ color: oklch(35.9% 0.072 110.6);
Tailwind
colors: {
  custom: {
    50: '#76744e',
    500: '#3f400a',
    950: '#000000',
  },
}
SCSS
$custom: #3f400a;
$custom-light: #76744e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f400a",
  "rgb": {
    "r": 63,
    "g": 64,
    "b": 10
  },
  "hsl": {
    "h": 61.111,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.3593,
    "c": 0.07179,
    "h": 110.6
  },
  "luminance": 0.04745
}

Semantic roles & 50–950 ramp

primary
#3F400A
secondary
#2A297D
accent
#38F03C
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #3F400A

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

Preview Lab → · Contrast checker → · Palette generator →

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