#3F470F#3F470F

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

Color values

HEX#3F470F
RGBrgb(63, 71, 15)
HSLhsl(69, 65%, 17%)
HSVhsv(69, 79%, 28%)
CMYKcmyk(11.3%, 0%, 78.9%, 72.2%)
CIE-LABlab(28.37, -11.88, 30.78)
CIE-LCHlch(28.37, 33.00, 111.10°)
OKLaboklab(37.85% -0.0355 0.0687)
OKLCHoklch(37.85% 0.077 117.3)
XYZxyz(4.3895, 5.5978, 1.3011)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F470F #170F47
analogous
#47330F #3F470F #23470F
triadic
#3F470F #0F3F47 #470F3F
tetradic
#3F470F #0F4733 #170F47 #470F23
square
#3F470F #0F4733 #170F47 #470F23
split-complementary
#3F470F #0F2347 #330F47
monochromatic
#161905 #161905 #3F470F #6C7A1A #99AC24

Accessibility & contrast

On white

9.91
#3F470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F470F
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F470F#FFFFFF#000000##FFFFFF
##3F470F1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4306
Deuteranopia (green-blind)
#4C4313
Tritanopia (blue-blind)
#43433C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f470f;
/* rgb */ color: rgb(63, 71, 15);
/* oklch */ color: oklch(37.8% 0.077 117.3);
Tailwind
colors: {
  custom: {
    50: '#767a52',
    500: '#3f470f',
    950: '#000000',
  },
}
SCSS
$custom: #3f470f;
$custom-light: #767a52;
$custom-dark: #000000;
JSON
{
  "hex": "#3f470f",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 68.571,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.37847,
    "c": 0.07729,
    "h": 117.3
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#3F470F
secondary
#3C3081
accent
#40E858
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #3F470F

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

Preview Lab → · Contrast checker → · Palette generator →

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