#3F470B#3F470B

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

Color values

HEX#3F470B
RGBrgb(63, 71, 11)
HSLhsl(68, 73%, 16%)
HSVhsv(68, 85%, 28%)
CMYKcmyk(11.3%, 0%, 84.5%, 72.2%)
CIE-LABlab(28.35, -12.11, 32.39)
CIE-LCHlch(28.35, 34.58, 110.51°)
OKLaboklab(37.82% -0.0366 0.0712)
OKLCHoklch(37.82% 0.08 117.2)
XYZxyz(4.3637, 5.5875, 1.1652)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F470B #130B47
analogous
#47310B #3F470B #21470B
triadic
#3F470B #0B3F47 #470B3F
tetradic
#3F470B #0B4731 #130B47 #470B21
square
#3F470B #0B4731 #130B47 #470B21
split-complementary
#3F470B #0B2147 #310B47
monochromatic
#181A04 #181A04 #3F470B #6E7C13 #9DB11B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F470B#FFFFFF#000000##FFFFFF
##3F470B1.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)
#4C4301
Deuteranopia (green-blind)
#4C4310
Tritanopia (blue-blind)
#44423C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f470b;
/* rgb */ color: rgb(63, 71, 11);
/* oklch */ color: oklch(37.8% 0.080 117.2);
Tailwind
colors: {
  custom: {
    50: '#767a50',
    500: '#3f470b',
    950: '#000000',
  },
}
SCSS
$custom: #3f470b;
$custom-light: #767a50;
$custom-dark: #000000;
JSON
{
  "hex": "#3f470b",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 68,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.37816,
    "c": 0.08006,
    "h": 117.2
  },
  "luminance": 0.05587
}

Semantic roles & 50–950 ramp

primary
#3F470B
secondary
#362A83
accent
#38F050
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #3F470B

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

Preview Lab → · Contrast checker → · Palette generator →

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