#3F340C#3F340C

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

Color values

HEX#3F340C
RGBrgb(63, 52, 12)
HSLhsl(47, 68%, 15%)
HSVhsv(47, 81%, 25%)
CMYKcmyk(0%, 17.5%, 81%, 75.3%)
CIE-LABlab(22.09, -0.32, 25.85)
CIE-LCHlch(22.09, 25.86, 90.71°)
OKLaboklab(32.83% -0.0033 0.0578)
OKLCHoklch(32.83% 0.058 93.3)
XYZxyz(3.3444, 3.5395, 0.8548)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F340C #0C173F
analogous
#3F1B0C #3F340C #313F0C
triadic
#3F340C #0C3F34 #340C3F
tetradic
#3F340C #0C3F1B #0C173F #3F0C31
square
#3F340C #0C3F1B #0C173F #3F0C31
split-complementary
#3F340C #0C313F #1B0C3F
monochromatic
#1A1505 #1A1505 #3F340C #725E16 #A68920

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F340C#FFFFFF#000000##FFFFFF
##3F340C1.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)
#3A3307
Deuteranopia (green-blind)
#3D360E
Tritanopia (blue-blind)
#452F2C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3f340c;
/* rgb */ color: rgb(63, 52, 12);
/* oklch */ color: oklch(32.8% 0.058 93.3);
Tailwind
colors: {
  custom: {
    50: '#766b4d',
    500: '#3f340c',
    950: '#000000',
  },
}
SCSS
$custom: #3f340c;
$custom-light: #766b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f340c",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 12
  },
  "hsl": {
    "h": 47.059,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32826,
    "c": 0.05786,
    "h": 93.3
  },
  "luminance": 0.03539
}

Semantic roles & 50–950 ramp

primary
#3F340C
secondary
#2C3D7B
accent
#62EB3D
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #3F340C

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

Preview Lab → · Contrast checker → · Palette generator →

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