#3F470A#3F470A

#3F470A is a dark, moderate yellow. Relative luminance 0.056; OKLCH L 37.8% C 0.081 H 117.1°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3F470A
RGBrgb(63, 71, 10)
HSLhsl(68, 75%, 16%)
HSVhsv(68, 86%, 28%)
CMYKcmyk(11.3%, 0%, 85.9%, 72.2%)
CIE-LABlab(28.34, -12.17, 32.75)
CIE-LCHlch(28.34, 34.94, 110.38°)
OKLaboklab(37.81% -0.0368 0.0718)
OKLCHoklch(37.81% 0.081 117.1)
XYZxyz(4.3580, 5.5852, 1.1356)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F470A #120A47
analogous
#47300A #3F470A #20470A
triadic
#3F470A #0A3F47 #470A3F
tetradic
#3F470A #0A4730 #120A47 #470A20
square
#3F470A #0A4730 #120A47 #470A20
split-complementary
#3F470A #0A2047 #300A47
monochromatic
#181B04 #181B04 #3F470A #6F7D12 #9EB219

Accessibility & contrast

On white

9.92
#3F470A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3F470A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F470A
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F470A#FFFFFF#000000##FFFFFF
##3F470A1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4300
Deuteranopia (green-blind)
#4C4310
Tritanopia (blue-blind)
#44423C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f470a;
/* rgb */ color: rgb(63, 71, 10);
/* oklch */ color: oklch(37.8% 0.081 117.1);
Tailwind
colors: {
  custom: {
    50: '#767a4f',
    500: '#3f470a',
    950: '#000000',
  },
}
SCSS
$custom: #3f470a;
$custom-light: #767a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f470a",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 10
  },
  "hsl": {
    "h": 67.869,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.37809,
    "c": 0.08068,
    "h": 117.1
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#3F470A
secondary
#352984
accent
#36F24F
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #3F470A

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

Preview Lab → · Contrast checker → · Palette generator →

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