#3F4004#3F4004

#3F4004 is a dark, moderate yellow. Relative luminance 0.047; OKLCH L 35.9% C 0.076 H 110.7°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#3F4004
RGBrgb(63, 64, 4)
HSLhsl(61, 88%, 13%)
HSVhsv(61, 94%, 25%)
CMYKcmyk(1.6%, 0%, 93.8%, 74.9%)
CIE-LABlab(25.96, -8.32, 32.99)
CIE-LCHlch(25.96, 34.02, 104.15°)
OKLaboklab(35.89% -0.0268 0.071)
OKLCHoklch(35.89% 0.076 110.7)
XYZxyz(3.9054, 4.7324, 0.8226)
Luminance0.0473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4004 #050440
analogous
#402304 #3F4004 #214004
triadic
#3F4004 #043F40 #40043F
tetradic
#3F4004 #044023 #050440 #400421
square
#3F4004 #044023 #050440 #400421
split-complementary
#3F4004 #042140 #230440
monochromatic
#1C1D02 #1C1D02 #3F4004 #787A08 #B0B30B

Accessibility & contrast

On white

10.79
#3F4004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3F4004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4004
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4004#FFFFFF#000000##FFFFFF
##3F40041.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#463E09
Tritanopia (blue-blind)
#443B35
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3f4004;
/* rgb */ color: rgb(63, 64, 4);
/* oklch */ color: oklch(35.9% 0.076 110.7);
Tailwind
colors: {
  custom: {
    50: '#77744b',
    500: '#3f4004',
    950: '#000000',
  },
}
SCSS
$custom: #3f4004;
$custom-light: #77744b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4004",
  "rgb": {
    "r": 63,
    "g": 64,
    "b": 4
  },
  "hsl": {
    "h": 61,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.35887,
    "c": 0.07587,
    "h": 110.7
  },
  "luminance": 0.04732
}

Semantic roles & 50–950 ramp

primary
#3F4004
secondary
#201F81
accent
#29FE2D
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #3F4004

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

Preview Lab → · Contrast checker → · Palette generator →

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