#3F470D#3F470D

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

Color values

HEX#3F470D
RGBrgb(63, 71, 13)
HSLhsl(68, 69%, 16%)
HSVhsv(68, 82%, 28%)
CMYKcmyk(11.3%, 0%, 81.7%, 72.2%)
CIE-LABlab(28.36, -12.00, 31.61)
CIE-LCHlch(28.36, 33.81, 110.79°)
OKLaboklab(37.83% -0.036 0.07)
OKLCHoklch(37.83% 0.079 117.2)
XYZxyz(4.3759, 5.5923, 1.2296)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F470D #150D47
analogous
#47320D #3F470D #22470D
triadic
#3F470D #0D3F47 #470D3F
tetradic
#3F470D #0D4732 #150D47 #470D22
square
#3F470D #0D4732 #150D47 #470D22
split-complementary
#3F470D #0D2247 #320D47
monochromatic
#171A05 #171A05 #3F470D #6D7B16 #9BAE20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F470D#FFFFFF#000000##FFFFFF
##3F470D1.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)
#4C4303
Deuteranopia (green-blind)
#4C4312
Tritanopia (blue-blind)
#43433C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f470d;
/* rgb */ color: rgb(63, 71, 13);
/* oklch */ color: oklch(37.8% 0.079 117.2);
Tailwind
colors: {
  custom: {
    50: '#767a51',
    500: '#3f470d',
    950: '#000000',
  },
}
SCSS
$custom: #3f470d;
$custom-light: #767a51;
$custom-dark: #000000;
JSON
{
  "hex": "#3f470d",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 13
  },
  "hsl": {
    "h": 68.276,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.3783,
    "c": 0.07874,
    "h": 117.2
  },
  "luminance": 0.05592
}

Semantic roles & 50–950 ramp

primary
#3F470D
secondary
#392D82
accent
#3CEC54
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #3F470D

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

Preview Lab → · Contrast checker → · Palette generator →

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