#3F4015#3F4015

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

Color values

HEX#3F4015
RGBrgb(63, 64, 21)
HSLhsl(61, 51%, 17%)
HSVhsv(61, 67%, 25%)
CMYKcmyk(1.6%, 0%, 67.2%, 74.9%)
CIE-LABlab(26.09, -7.24, 25.50)
CIE-LCHlch(26.09, 26.51, 105.86°)
OKLaboklab(36.04% -0.0218 0.0586)
OKLCHoklch(36.04% 0.062 110.4)
XYZxyz(4.0188, 4.7778, 1.4198)
Luminance0.0478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4015 #161540
analogous
#402C15 #3F4015 #2A4015
triadic
#3F4015 #153F40 #40153F
tetradic
#3F4015 #15402C #161540 #40152A
square
#3F4015 #15402C #161540 #40152A
split-complementary
#3F4015 #152A40 #2C1540
monochromatic
#171708 #171708 #3F4015 #6C6E24 #9A9C33

Accessibility & contrast

On white

10.74
#3F4015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3F4015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4015
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4015#FFFFFF#000000##FFFFFF
##3F40151.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D10
Deuteranopia (green-blind)
#463E18
Tritanopia (blue-blind)
#443C37
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f4015;
/* rgb */ color: rgb(63, 64, 21);
/* oklch */ color: oklch(36.0% 0.062 110.4);
Tailwind
colors: {
  custom: {
    50: '#767454',
    500: '#3f4015',
    950: '#000000',
  },
}
SCSS
$custom: #3f4015;
$custom-light: #767454;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4015",
  "rgb": {
    "r": 63,
    "g": 64,
    "b": 21
  },
  "hsl": {
    "h": 61.395,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36036,
    "c": 0.06249,
    "h": 110.4
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

primary
#3F4015
secondary
#3B3978
accent
#4EDA51
background
#F7F7F4
surface
#EDEDE8
border
#C8C8C4
text
#080803
muted
#7B7B78

Preview Lab

Preview with #3F4015

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

Preview Lab → · Contrast checker → · Palette generator →

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