#3F4108#3F4108

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

Color values

HEX#3F4108
RGBrgb(63, 65, 8)
HSLhsl(62, 78%, 14%)
HSVhsv(62, 88%, 25%)
CMYKcmyk(3.1%, 0%, 87.7%, 74.5%)
CIE-LABlab(26.32, -8.71, 31.69)
CIE-LCHlch(26.32, 32.86, 105.38°)
OKLaboklab(36.18% -0.0275 0.0691)
OKLCHoklch(36.18% 0.074 111.7)
XYZxyz(3.9842, 4.8550, 0.9569)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4108 #0A0841
analogous
#412708 #3F4108 #234108
triadic
#3F4108 #083F41 #41083F
tetradic
#3F4108 #084127 #0A0841 #410823
square
#3F4108 #084127 #0A0841 #410823
split-complementary
#3F4108 #082341 #270841
monochromatic
#1A1B03 #1A1B03 #3F4108 #74770F #A9AE15

Accessibility & contrast

On white

10.65
#3F4108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F4108
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4108#FFFFFF#000000##FFFFFF
##3F41081.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f4108;
/* rgb */ color: rgb(63, 65, 8);
/* oklch */ color: oklch(36.2% 0.074 111.7);
Tailwind
colors: {
  custom: {
    50: '#76754d',
    500: '#3f4108',
    950: '#000000',
  },
}
SCSS
$custom: #3f4108;
$custom-light: #76754d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4108",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 8
  },
  "hsl": {
    "h": 62.105,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.36182,
    "c": 0.07434,
    "h": 111.7
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

primary
#3F4108
secondary
#29257F
accent
#33F53A
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #3F4108

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

Preview Lab → · Contrast checker → · Palette generator →

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