#3F400F#3F400F

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

Color values

HEX#3F400F
RGBrgb(63, 64, 15)
HSLhsl(61, 62%, 15%)
HSVhsv(61, 77%, 25%)
CMYKcmyk(1.6%, 0%, 76.6%, 74.9%)
CIE-LABlab(26.03, -7.71, 28.45)
CIE-LCHlch(26.03, 29.48, 105.15°)
OKLaboklab(35.97% -0.0239 0.0637)
OKLCHoklch(35.97% 0.068 110.5)
XYZxyz(3.9696, 4.7581, 1.1611)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F400F #100F40
analogous
#40280F #3F400F #26400F
triadic
#3F400F #0F3F40 #400F3F
tetradic
#3F400F #0F4028 #100F40 #400F26
square
#3F400F #0F4028 #100F40 #400F26
split-complementary
#3F400F #0F2640 #280F40
monochromatic
#181906 #181906 #3F400F #70721B #A1A326

Accessibility & contrast

On white

10.76
#3F400F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F400F
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F400F#FFFFFF#000000##FFFFFF
##3F400F1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D08
Deuteranopia (green-blind)
#463E12
Tritanopia (blue-blind)
#443C36
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f400f;
/* rgb */ color: rgb(63, 64, 15);
/* oklch */ color: oklch(36.0% 0.068 110.5);
Tailwind
colors: {
  custom: {
    50: '#767451',
    500: '#3f400f',
    950: '#000000',
  },
}
SCSS
$custom: #3f400f;
$custom-light: #767451;
$custom-dark: #000000;
JSON
{
  "hex": "#3f400f",
  "rgb": {
    "r": 63,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 61.224,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.35971,
    "c": 0.06806,
    "h": 110.5
  },
  "luminance": 0.04758
}

Semantic roles & 50–950 ramp

primary
#3F400F
secondary
#32307A
accent
#43E546
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #3F400F

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

Preview Lab → · Contrast checker → · Palette generator →

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