#3F4104#3F4104

#3F4104 is a dark, moderate yellow. Relative luminance 0.048; OKLCH L 36.2% C 0.077 H 111.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#3F4104
RGBrgb(63, 65, 4)
HSLhsl(62, 88%, 14%)
HSVhsv(62, 94%, 25%)
CMYKcmyk(3.1%, 0%, 93.8%, 74.5%)
CIE-LABlab(26.29, -8.92, 33.29)
CIE-LCHlch(26.29, 34.47, 105.00°)
OKLaboklab(36.15% -0.0285 0.0716)
OKLCHoklch(36.15% 0.077 111.7)
XYZxyz(3.9623, 4.8462, 0.8415)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4104 #060441
analogous
#412404 #3F4104 #204104
triadic
#3F4104 #043F41 #41043F
tetradic
#3F4104 #044124 #060441 #410420
square
#3F4104 #044124 #060441 #410420
split-complementary
#3F4104 #042041 #240441
monochromatic
#1C1D02 #1C1D02 #3F4104 #777B08 #AFB40B

Accessibility & contrast

On white

10.66
#3F4104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3F4104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4104
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4104#FFFFFF#000000##FFFFFF
##3F41041.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473D00
Deuteranopia (green-blind)
#473F09
Tritanopia (blue-blind)
#443C36
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f4104;
/* rgb */ color: rgb(63, 65, 4);
/* oklch */ color: oklch(36.2% 0.077 111.7);
Tailwind
colors: {
  custom: {
    50: '#77754b',
    500: '#3f4104',
    950: '#000000',
  },
}
SCSS
$custom: #3f4104;
$custom-light: #77754b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4104",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 4
  },
  "hsl": {
    "h": 61.967,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.36154,
    "c": 0.07703,
    "h": 111.7
  },
  "luminance": 0.04846
}

Semantic roles & 50–950 ramp

primary
#3F4104
secondary
#221F82
accent
#29FF30
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #3F4104

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

Preview Lab → · Contrast checker → · Palette generator →

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