#3F401B#3F401B

#3F401B is a dark, muted yellow. Relative luminance 0.048; OKLCH L 36.1% C 0.056 H 110.3°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#3F401B
RGBrgb(63, 64, 27)
HSLhsl(62, 41%, 18%)
HSVhsv(62, 58%, 25%)
CMYKcmyk(1.6%, 0%, 57.8%, 74.9%)
CIE-LABlab(26.17, -6.66, 22.24)
CIE-LCHlch(26.17, 23.21, 106.67°)
OKLaboklab(36.12% -0.0194 0.0524)
OKLCHoklch(36.12% 0.056 110.3)
XYZxyz(4.0812, 4.8028, 1.7487)
Luminance0.0480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F401B #1C1B40
analogous
#402E1B #3F401B #2C401B
triadic
#3F401B #1B3F40 #401B3F
tetradic
#3F401B #1B402E #1C1B40 #401B2C
square
#3F401B #1B402E #1C1B40 #401B2C
split-complementary
#3F401B #1B2C40 #2E1B40
monochromatic
#151609 #151609 #3F401B #696B2D #94963F

Accessibility & contrast

On white

10.71
#3F401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3F401B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F401B
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F401B#FFFFFF#000000##FFFFFF
##3F401B1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D18
Deuteranopia (green-blind)
#453E1D
Tritanopia (blue-blind)
#433C38
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f401b;
/* rgb */ color: rgb(63, 64, 27);
/* oklch */ color: oklch(36.1% 0.056 110.3);
Tailwind
colors: {
  custom: {
    50: '#757458',
    500: '#3f401b',
    950: '#000000',
  },
}
SCSS
$custom: #3f401b;
$custom-light: #757458;
$custom-dark: #000000;
JSON
{
  "hex": "#3f401b",
  "rgb": {
    "r": 63,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 61.622,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36118,
    "c": 0.05586,
    "h": 110.3
  },
  "luminance": 0.04803
}

Semantic roles & 50–950 ramp

primary
#3F401B
secondary
#434175
accent
#57D15B
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#080803
muted
#7B7B78

Preview Lab

Preview with #3F401B

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

Preview Lab → · Contrast checker → · Palette generator →

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