#3F3C04#3F3C04

#3F3C04 is a dark, moderate yellow. Relative luminance 0.043; OKLCH L 34.8% C 0.071 H 106.3°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#3F3C04
RGBrgb(63, 60, 4)
HSLhsl(57, 88%, 13%)
HSVhsv(57, 94%, 25%)
CMYKcmyk(0%, 4.8%, 93.7%, 75.3%)
CIE-LABlab(24.63, -5.86, 31.74)
CIE-LCHlch(24.63, 32.28, 100.47°)
OKLaboklab(34.83% -0.02 0.0686)
OKLCHoklch(34.83% 0.071 106.3)
XYZxyz(3.6878, 4.2974, 0.7501)
Luminance0.0430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3C04 #04073F
analogous
#3F1E04 #3F3C04 #243F04
triadic
#3F3C04 #043F3C #3C043F
tetradic
#3F3C04 #043F1E #04073F #3F0424
square
#3F3C04 #043F1E #04073F #3F0424
split-complementary
#3F3C04 #04243F #1E043F
monochromatic
#1D1B02 #1D1B02 #3F3C04 #797308 #B2AA0B

Accessibility & contrast

On white

11.29
#3F3C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3F3C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3C04
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3C04#FFFFFF#000000##FFFFFF
##3F3C041.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#433B08
Tritanopia (blue-blind)
#453732
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3f3c04;
/* rgb */ color: rgb(63, 60, 4);
/* oklch */ color: oklch(34.8% 0.071 106.3);
Tailwind
colors: {
  custom: {
    50: '#77714a',
    500: '#3f3c04',
    950: '#000000',
  },
}
SCSS
$custom: #3f3c04;
$custom-light: #77714a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3c04",
  "rgb": {
    "r": 63,
    "g": 60,
    "b": 4
  },
  "hsl": {
    "h": 56.949,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.34826,
    "c": 0.07142,
    "h": 106.3
  },
  "luminance": 0.04297
}

Semantic roles & 50–950 ramp

primary
#3F3C04
secondary
#1E2380
accent
#34FE2A
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #3F3C04

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

Preview Lab → · Contrast checker → · Palette generator →

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