#3E4017#3E4017

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

Color values

HEX#3E4017
RGBrgb(62, 64, 23)
HSLhsl(63, 47%, 17%)
HSVhsv(63, 64%, 25%)
CMYKcmyk(3.1%, 0%, 64.1%, 74.9%)
CIE-LABlab(26.02, -7.56, 24.31)
CIE-LCHlch(26.02, 25.46, 107.29°)
OKLaboklab(35.96% -0.0224 0.0564)
OKLCHoklch(35.96% 0.061 111.6)
XYZxyz(3.9748, 4.7529, 1.5185)
Luminance0.0475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4017 #191740
analogous
#402E17 #3E4017 #2A4017
triadic
#3E4017 #173E40 #40173E
tetradic
#3E4017 #17402E #191740 #40172A
square
#3E4017 #17402E #191740 #40172A
split-complementary
#3E4017 #172A40 #2E1740
monochromatic
#161708 #161708 #3E4017 #6A6D27 #959A37

Accessibility & contrast

On white

10.77
#3E4017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E4017
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4017#FFFFFF#000000##FFFFFF
##3E40171.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e4017;
/* rgb */ color: rgb(62, 64, 23);
/* oklch */ color: oklch(36.0% 0.061 111.6);
Tailwind
colors: {
  custom: {
    50: '#757456',
    500: '#3e4017',
    950: '#000000',
  },
}
SCSS
$custom: #3e4017;
$custom-light: #757456;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4017",
  "rgb": {
    "r": 62,
    "g": 64,
    "b": 23
  },
  "hsl": {
    "h": 62.927,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35961,
    "c": 0.06064,
    "h": 111.6
  },
  "luminance": 0.04753
}

Semantic roles & 50–950 ramp

primary
#3E4017
secondary
#3F3C77
accent
#51D758
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#080803
muted
#7B7B78

Preview Lab

Preview with #3E4017

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

Preview Lab → · Contrast checker → · Palette generator →

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