#3F3A04#3F3A04

#3F3A04 is a dark, moderate yellow. Relative luminance 0.041; OKLCH L 34.3% C 0.069 H 103.8°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#3F3A04
RGBrgb(63, 58, 4)
HSLhsl(55, 88%, 13%)
HSVhsv(55, 94%, 25%)
CMYKcmyk(0%, 7.9%, 93.7%, 75.3%)
CIE-LABlab(23.97, -4.61, 31.09)
CIE-LCHlch(23.97, 31.43, 98.44°)
OKLaboklab(34.3% -0.0165 0.0674)
OKLCHoklch(34.3% 0.069 103.8)
XYZxyz(3.5850, 4.0918, 0.7158)
Luminance0.0409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3A04 #04093F
analogous
#3F1C04 #3F3A04 #263F04
triadic
#3F3A04 #043F3A #3A043F
tetradic
#3F3A04 #043F1C #04093F #3F0426
square
#3F3A04 #043F1C #04093F #3F0426
split-complementary
#3F3A04 #04263F #1C043F
monochromatic
#1D1A02 #1D1A02 #3F3A04 #796F08 #B2A40B

Accessibility & contrast

On white

11.55
#3F3A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3F3A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3A04
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3A04#FFFFFF#000000##FFFFFF
##3F3A041.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403800
Deuteranopia (green-blind)
#423A08
Tritanopia (blue-blind)
#453530
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3f3a04;
/* rgb */ color: rgb(63, 58, 4);
/* oklch */ color: oklch(34.3% 0.069 103.8);
Tailwind
colors: {
  custom: {
    50: '#776f4a',
    500: '#3f3a04',
    950: '#000000',
  },
}
SCSS
$custom: #3f3a04;
$custom-light: #776f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3a04",
  "rgb": {
    "r": 63,
    "g": 58,
    "b": 4
  },
  "hsl": {
    "h": 54.915,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.34302,
    "c": 0.06936,
    "h": 103.8
  },
  "luminance": 0.04092
}

Semantic roles & 50–950 ramp

primary
#3F3A04
secondary
#1E2780
accent
#3CFE2A
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #3F3A04

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

Preview Lab → · Contrast checker → · Palette generator →

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