#3F3D04#3F3D04

#3F3D04 is a dark, moderate yellow. Relative luminance 0.044; OKLCH L 35.1% C 0.072 H 107.5°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#3F3D04
RGBrgb(63, 61, 4)
HSLhsl(58, 88%, 13%)
HSVhsv(58, 94%, 25%)
CMYKcmyk(0%, 3.2%, 93.7%, 75.3%)
CIE-LABlab(24.96, -6.48, 32.06)
CIE-LCHlch(24.96, 32.71, 101.44°)
OKLaboklab(35.09% -0.0217 0.0692)
OKLCHoklch(35.09% 0.073 107.5)
XYZxyz(3.7407, 4.4032, 0.7677)
Luminance0.0440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3D04 #04063F
analogous
#3F1F04 #3F3D04 #233F04
triadic
#3F3D04 #043F3D #3D043F
tetradic
#3F3D04 #043F1F #04063F #3F0423
square
#3F3D04 #043F1F #04063F #3F0423
split-complementary
#3F3D04 #04233F #1F043F
monochromatic
#1D1C02 #1D1C02 #3F3D04 #797508 #B2AC0B

Accessibility & contrast

On white

11.17
#3F3D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3F3D04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3D04
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3D04#FFFFFF#000000##FFFFFF
##3F3D041.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#443C09
Tritanopia (blue-blind)
#443833
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3f3d04;
/* rgb */ color: rgb(63, 61, 4);
/* oklch */ color: oklch(35.1% 0.072 107.5);
Tailwind
colors: {
  custom: {
    50: '#77724b',
    500: '#3f3d04',
    950: '#000000',
  },
}
SCSS
$custom: #3f3d04;
$custom-light: #77724b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3d04",
  "rgb": {
    "r": 63,
    "g": 61,
    "b": 4
  },
  "hsl": {
    "h": 57.966,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.3509,
    "c": 0.0725,
    "h": 107.5
  },
  "luminance": 0.04403
}

Semantic roles & 50–950 ramp

primary
#3F3D04
secondary
#1E2280
accent
#31FE2A
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #3F3D04

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

Preview Lab → · Contrast checker → · Palette generator →

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