#3E4015#3E4015

#3E4015 is a dark, moderate yellow. Relative luminance 0.047; OKLCH L 35.9% C 0.063 H 111.7°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#3E4015
RGBrgb(62, 64, 21)
HSLhsl(63, 51%, 17%)
HSVhsv(63, 67%, 25%)
CMYKcmyk(3.1%, 0%, 67.2%, 74.9%)
CIE-LABlab(26.00, -7.75, 25.36)
CIE-LCHlch(26.00, 26.52, 106.98°)
OKLaboklab(35.94% -0.0231 0.0583)
OKLCHoklch(35.94% 0.063 111.7)
XYZxyz(3.9555, 4.7452, 1.4169)
Luminance0.0474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4015 #171540
analogous
#402D15 #3E4015 #294015
triadic
#3E4015 #153E40 #40153E
tetradic
#3E4015 #15402D #171540 #401529
square
#3E4015 #15402D #171540 #401529
split-complementary
#3E4015 #152940 #2D1540
monochromatic
#161708 #161708 #3E4015 #6B6E24 #979C33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E4015#FFFFFF#000000##FFFFFF
##3E40151.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)
#453D10
Deuteranopia (green-blind)
#453E18
Tritanopia (blue-blind)
#423C37
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e4015;
/* rgb */ color: rgb(62, 64, 21);
/* oklch */ color: oklch(35.9% 0.063 111.7);
Tailwind
colors: {
  custom: {
    50: '#757454',
    500: '#3e4015',
    950: '#000000',
  },
}
SCSS
$custom: #3e4015;
$custom-light: #757454;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4015",
  "rgb": {
    "r": 62,
    "g": 64,
    "b": 21
  },
  "hsl": {
    "h": 62.791,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35936,
    "c": 0.06275,
    "h": 111.7
  },
  "luminance": 0.04745
}

Semantic roles & 50–950 ramp

primary
#3E4015
secondary
#3C3978
accent
#4EDA54
background
#F7F7F4
surface
#EDEDE8
border
#C8C8C4
text
#080803
muted
#7B7B78

Preview Lab

Preview with #3E4015

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

Preview Lab → · Contrast checker → · Palette generator →

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