#3F340B#3F340B

#3F340B is a dark, muted yellow. Relative luminance 0.035; OKLCH L 32.8% C 0.059 H 93.6°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#3F340B
RGBrgb(63, 52, 11)
HSLhsl(47, 70%, 15%)
HSVhsv(47, 83%, 25%)
CMYKcmyk(0%, 17.5%, 82.5%, 75.3%)
CIE-LABlab(22.08, -0.38, 26.29)
CIE-LCHlch(22.08, 26.29, 90.83°)
OKLaboklab(32.82% -0.0036 0.0585)
OKLCHoklch(32.82% 0.059 93.6)
XYZxyz(3.3385, 3.5371, 0.8234)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F340B #0B163F
analogous
#3F1A0B #3F340B #303F0B
triadic
#3F340B #0B3F34 #340B3F
tetradic
#3F340B #0B3F1A #0B163F #3F0B30
square
#3F340B #0B3F1A #0B163F #3F0B30
split-complementary
#3F340B #0B303F #1A0B3F
monochromatic
#1A1605 #1A1605 #3F340B #735F14 #A78A1D

Accessibility & contrast

On white

12.30
#3F340B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#3F340B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F340B
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F340B#FFFFFF#000000##FFFFFF
##3F340B1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3306
Deuteranopia (green-blind)
#3D360D
Tritanopia (blue-blind)
#452F2C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3f340b;
/* rgb */ color: rgb(63, 52, 11);
/* oklch */ color: oklch(32.8% 0.059 93.6);
Tailwind
colors: {
  custom: {
    50: '#766b4d',
    500: '#3f340b',
    950: '#000000',
  },
}
SCSS
$custom: #3f340b;
$custom-light: #766b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f340b",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 11
  },
  "hsl": {
    "h": 47.308,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32816,
    "c": 0.05865,
    "h": 93.6
  },
  "luminance": 0.03537
}

Semantic roles & 50–950 ramp

primary
#3F340B
secondary
#2A3B7C
accent
#60ED3B
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #3F340B

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

Preview Lab → · Contrast checker → · Palette generator →

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