#3F370C#3F370C

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

Color values

HEX#3F370C
RGBrgb(63, 55, 12)
HSLhsl(51, 68%, 15%)
HSVhsv(51, 81%, 25%)
CMYKcmyk(0%, 12.7%, 81%, 75.3%)
CIE-LABlab(23.05, -2.26, 26.86)
CIE-LCHlch(23.05, 26.96, 94.81°)
OKLaboklab(33.59% -0.0089 0.0598)
OKLCHoklch(33.59% 0.06 98.4)
XYZxyz(3.4826, 3.8159, 0.9008)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F370C #0C143F
analogous
#3F1E0C #3F370C #2E3F0C
triadic
#3F370C #0C3F37 #370C3F
tetradic
#3F370C #0C3F1E #0C143F #3F0C2E
square
#3F370C #0C3F1E #0C143F #3F0C2E
split-complementary
#3F370C #0C2E3F #1E0C3F
monochromatic
#1A1605 #1A1605 #3F370C #726416 #A69120

Accessibility & contrast

On white

11.91
#3F370C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F370C
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F370C#FFFFFF#000000##FFFFFF
##3F370C1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f370c;
/* rgb */ color: rgb(63, 55, 12);
/* oklch */ color: oklch(33.6% 0.060 98.4);
Tailwind
colors: {
  custom: {
    50: '#766d4e',
    500: '#3f370c',
    950: '#000000',
  },
}
SCSS
$custom: #3f370c;
$custom-light: #766d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f370c",
  "rgb": {
    "r": 63,
    "g": 55,
    "b": 12
  },
  "hsl": {
    "h": 50.588,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33591,
    "c": 0.06045,
    "h": 98.4
  },
  "luminance": 0.03816
}

Semantic roles & 50–950 ramp

primary
#3F370C
secondary
#2C387B
accent
#58EB3D
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #3F370C

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

Preview Lab → · Contrast checker → · Palette generator →

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