#3E470F#3E470F

#3E470F is a dark, moderate yellow. Relative luminance 0.056; OKLCH L 37.8% C 0.078 H 118.3°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#3E470F
RGBrgb(62, 71, 15)
HSLhsl(70, 65%, 17%)
HSVhsv(70, 79%, 28%)
CMYKcmyk(12.7%, 0%, 78.9%, 72.2%)
CIE-LABlab(28.29, -12.37, 30.67)
CIE-LCHlch(28.29, 33.07, 111.97°)
OKLaboklab(37.76% -0.0368 0.0684)
OKLCHoklch(37.76% 0.078 118.3)
XYZxyz(4.3262, 5.5651, 1.2981)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E470F #180F47
analogous
#47340F #3E470F #22470F
triadic
#3E470F #0F3E47 #470F3E
tetradic
#3E470F #0F4734 #180F47 #470F22
square
#3E470F #0F4734 #180F47 #470F22
split-complementary
#3E470F #0F2247 #340F47
monochromatic
#161905 #161905 #3E470F #6A7A1A #96AC24

Accessibility & contrast

On white

9.94
#3E470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3E470F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E470F
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E470F#FFFFFF#000000##FFFFFF
##3E470F1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4306
Deuteranopia (green-blind)
#4B4314
Tritanopia (blue-blind)
#42433C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e470f;
/* rgb */ color: rgb(62, 71, 15);
/* oklch */ color: oklch(37.8% 0.078 118.3);
Tailwind
colors: {
  custom: {
    50: '#757a52',
    500: '#3e470f',
    950: '#000000',
  },
}
SCSS
$custom: #3e470f;
$custom-light: #757a52;
$custom-dark: #000000;
JSON
{
  "hex": "#3e470f",
  "rgb": {
    "r": 62,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 69.643,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.37755,
    "c": 0.07771,
    "h": 118.3
  },
  "luminance": 0.05565
}

Semantic roles & 50–950 ramp

primary
#3E470F
secondary
#3D3081
accent
#40E85B
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3E470F

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

Preview Lab → · Contrast checker → · Palette generator →

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