#3F370A#3F370A

#3F370A is a dark, moderate yellow. Relative luminance 0.038; OKLCH L 33.6% C 0.062 H 98.8°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#3F370A
RGBrgb(63, 55, 10)
HSLhsl(51, 73%, 14%)
HSVhsv(51, 84%, 25%)
CMYKcmyk(0%, 12.7%, 84.1%, 75.3%)
CIE-LABlab(23.04, -2.38, 27.71)
CIE-LCHlch(23.04, 27.81, 94.91°)
OKLaboklab(33.57% -0.0094 0.0613)
OKLCHoklch(33.57% 0.062 98.8)
XYZxyz(3.4710, 3.8112, 0.8399)
Luminance0.0381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F370A #0A123F
analogous
#3F1D0A #3F370A #2D3F0A
triadic
#3F370A #0A3F37 #370A3F
tetradic
#3F370A #0A3F1D #0A123F #3F0A2D
square
#3F370A #0A3F1D #0A123F #3F0A2D
split-complementary
#3F370A #0A2D3F #1D0A3F
monochromatic
#1A1704 #1A1704 #3F370A #746512 #A9931B

Accessibility & contrast

On white

11.92
#3F370A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3F370A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F370A
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F370A#FFFFFF#000000##FFFFFF
##3F370A1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3504
Deuteranopia (green-blind)
#3F380D
Tritanopia (blue-blind)
#45322E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f370a;
/* rgb */ color: rgb(63, 55, 10);
/* oklch */ color: oklch(33.6% 0.062 98.8);
Tailwind
colors: {
  custom: {
    50: '#766d4d',
    500: '#3f370a',
    950: '#000000',
  },
}
SCSS
$custom: #3f370a;
$custom-light: #766d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f370a",
  "rgb": {
    "r": 63,
    "g": 55,
    "b": 10
  },
  "hsl": {
    "h": 50.943,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33573,
    "c": 0.06199,
    "h": 98.8
  },
  "luminance": 0.03811
}

Semantic roles & 50–950 ramp

primary
#3F370A
secondary
#29357C
accent
#54EF38
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #3F370A

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

Preview Lab → · Contrast checker → · Palette generator →

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