#3F4017#3F4017

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

Color values

HEX#3F4017
RGBrgb(63, 64, 23)
HSLhsl(61, 47%, 17%)
HSVhsv(61, 64%, 25%)
CMYKcmyk(1.6%, 0%, 64.1%, 74.9%)
CIE-LABlab(26.11, -7.06, 24.44)
CIE-LCHlch(26.11, 25.44, 106.11°)
OKLaboklab(36.06% -0.021 0.0566)
OKLCHoklch(36.06% 0.06 110.4)
XYZxyz(4.0381, 4.7855, 1.5214)
Luminance0.0478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4017 #181740
analogous
#402D17 #3F4017 #2B4017
triadic
#3F4017 #173F40 #40173F
tetradic
#3F4017 #17402D #181740 #40172B
square
#3F4017 #17402D #181740 #40172B
split-complementary
#3F4017 #172B40 #2D1740
monochromatic
#161708 #161708 #3F4017 #6B6D27 #989A37

Accessibility & contrast

On white

10.73
#3F4017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F4017
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4017#FFFFFF#000000##FFFFFF
##3F40171.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D13
Deuteranopia (green-blind)
#463E19
Tritanopia (blue-blind)
#433C37
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f4017;
/* rgb */ color: rgb(63, 64, 23);
/* oklch */ color: oklch(36.1% 0.060 110.4);
Tailwind
colors: {
  custom: {
    50: '#757456',
    500: '#3f4017',
    950: '#000000',
  },
}
SCSS
$custom: #3f4017;
$custom-light: #757456;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4017",
  "rgb": {
    "r": 63,
    "g": 64,
    "b": 23
  },
  "hsl": {
    "h": 61.463,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36061,
    "c": 0.0604,
    "h": 110.4
  },
  "luminance": 0.04785
}

Semantic roles & 50–950 ramp

primary
#3F4017
secondary
#3D3C77
accent
#51D754
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#080803
muted
#7B7B78

Preview Lab

Preview with #3F4017

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

Preview Lab → · Contrast checker → · Palette generator →

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