#3F470C#3F470C

#3F470C 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.92:1 contrast (WCAG AA passes).

Color values

HEX#3F470C
RGBrgb(63, 71, 12)
HSLhsl(68, 71%, 16%)
HSVhsv(68, 83%, 28%)
CMYKcmyk(11.3%, 0%, 83.1%, 72.2%)
CIE-LABlab(28.35, -12.06, 32.01)
CIE-LCHlch(28.35, 34.20, 110.65°)
OKLaboklab(37.82% -0.0363 0.0706)
OKLCHoklch(37.82% 0.079 117.2)
XYZxyz(4.3696, 5.5898, 1.1965)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F470C #140C47
analogous
#47320C #3F470C #22470C
triadic
#3F470C #0C3F47 #470C3F
tetradic
#3F470C #0C4732 #140C47 #470C22
square
#3F470C #0C4732 #140C47 #470C22
split-complementary
#3F470C #0C2247 #320C47
monochromatic
#171A04 #171A04 #3F470C #6D7B15 #9CB01E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F470C#FFFFFF#000000##FFFFFF
##3F470C1.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)
#4C4302
Deuteranopia (green-blind)
#4C4311
Tritanopia (blue-blind)
#43423C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f470c;
/* rgb */ color: rgb(63, 71, 12);
/* oklch */ color: oklch(37.8% 0.079 117.2);
Tailwind
colors: {
  custom: {
    50: '#767a50',
    500: '#3f470c',
    950: '#000000',
  },
}
SCSS
$custom: #3f470c;
$custom-light: #767a50;
$custom-dark: #000000;
JSON
{
  "hex": "#3f470c",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 68.136,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.37823,
    "c": 0.07942,
    "h": 117.2
  },
  "luminance": 0.0559
}

Semantic roles & 50–950 ramp

primary
#3F470C
secondary
#382C83
accent
#3AEE52
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #3F470C

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

Preview Lab → · Contrast checker → · Palette generator →

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