#3F4012#3F4012

#3F4012 is a dark, moderate yellow. Relative luminance 0.048; OKLCH L 36.0% C 0.065 H 110.5°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#3F4012
RGBrgb(63, 64, 18)
HSLhsl(61, 56%, 16%)
HSVhsv(61, 72%, 25%)
CMYKcmyk(1.6%, 0%, 71.9%, 74.9%)
CIE-LABlab(26.06, -7.49, 27.02)
CIE-LCHlch(26.06, 28.04, 105.49°)
OKLaboklab(36% -0.0229 0.0613)
OKLCHoklch(36% 0.065 110.5)
XYZxyz(3.9926, 4.7673, 1.2820)
Luminance0.0477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4012 #131240
analogous
#402A12 #3F4012 #284012
triadic
#3F4012 #123F40 #40123F
tetradic
#3F4012 #12402A #131240 #401228
square
#3F4012 #12402A #131240 #401228
split-complementary
#3F4012 #122840 #2A1240
monochromatic
#181807 #181807 #3F4012 #6E701F #9DA02D

Accessibility & contrast

On white

10.75
#3F4012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F4012
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4012#FFFFFF#000000##FFFFFF
##3F40121.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D0C
Deuteranopia (green-blind)
#463E15
Tritanopia (blue-blind)
#443C36
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f4012;
/* rgb */ color: rgb(63, 64, 18);
/* oklch */ color: oklch(36.0% 0.065 110.5);
Tailwind
colors: {
  custom: {
    50: '#767452',
    500: '#3f4012',
    950: '#000000',
  },
}
SCSS
$custom: #3f4012;
$custom-light: #767452;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4012",
  "rgb": {
    "r": 63,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 61.304,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.36002,
    "c": 0.06542,
    "h": 110.5
  },
  "luminance": 0.04767
}

Semantic roles & 50–950 ramp

primary
#3F4012
secondary
#363579
accent
#48DF4C
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #3F4012

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

Preview Lab → · Contrast checker → · Palette generator →

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