#3E440F#3E440F

#3E440F is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 36.9% C 0.074 H 115.7°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#3E440F
RGBrgb(62, 68, 15)
HSLhsl(67, 64%, 16%)
HSVhsv(67, 78%, 27%)
CMYKcmyk(8.8%, 0%, 77.9%, 73.3%)
CIE-LABlab(27.28, -10.62, 29.67)
CIE-LCHlch(27.28, 31.51, 109.69°)
OKLaboklab(36.94% -0.0319 0.0663)
OKLCHoklch(36.94% 0.074 115.7)
XYZxyz(4.1401, 5.1929, 1.2361)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E440F #150F44
analogous
#44300F #3E440F #24440F
triadic
#3E440F #0F3E44 #440F3E
tetradic
#3E440F #0F4430 #150F44 #440F24
square
#3E440F #0F4430 #150F44 #440F24
split-complementary
#3E440F #0F2444 #300F44
monochromatic
#171906 #171906 #3E440F #6C761A #99A825

Accessibility & contrast

On white

10.30
#3E440F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3E440F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E440F
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E440F#FFFFFF#000000##FFFFFF
##3E440F1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494007
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#42403A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e440f;
/* rgb */ color: rgb(62, 68, 15);
/* oklch */ color: oklch(36.9% 0.074 115.7);
Tailwind
colors: {
  custom: {
    50: '#757751',
    500: '#3e440f',
    950: '#000000',
  },
}
SCSS
$custom: #3e440f;
$custom-light: #757751;
$custom-dark: #000000;
JSON
{
  "hex": "#3e440f",
  "rgb": {
    "r": 62,
    "g": 68,
    "b": 15
  },
  "hsl": {
    "h": 66.792,
    "s": 63.855,
    "l": 16.275
  },
  "oklch": {
    "l": 0.36944,
    "c": 0.07361,
    "h": 115.7
  },
  "luminance": 0.05193
}

Semantic roles & 50–950 ramp

primary
#3E440F
secondary
#39307E
accent
#41E754
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3E440F

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

Preview Lab → · Contrast checker → · Palette generator →

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