#3E402A#3E402A

#3E402A is a dark, muted yellow. Relative luminance 0.049; OKLCH L 36.3% C 0.036 H 112.4°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#3E402A
RGBrgb(62, 64, 42)
HSLhsl(65, 21%, 21%)
HSVhsv(65, 34%, 25%)
CMYKcmyk(3.1%, 0%, 34.4%, 74.9%)
CIE-LABlab(26.33, -5.14, 13.22)
CIE-LCHlch(26.33, 14.18, 111.26°)
OKLaboklab(36.31% -0.0136 0.033)
OKLCHoklch(36.31% 0.036 112.4)
XYZxyz(4.2379, 4.8581, 2.9045)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E402A #2C2A40
analogous
#40372A #3E402A #33402A
triadic
#3E402A #2A3E40 #402A3E
tetradic
#3E402A #2A4037 #2C2A40 #402A33
square
#3E402A #2A4037 #2C2A40 #402A33
split-complementary
#3E402A #2A3340 #372A40
monochromatic
#12120C #1A1B12 #3E402A #626542 #868A5A

Accessibility & contrast

On white

10.65
#3E402A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3E402A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E402A
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E402A#FFFFFF#000000##FFFFFF
##3E402A1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433E29
Deuteranopia (green-blind)
#433F2B
Tritanopia (blue-blind)
#413D3A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e402a;
/* rgb */ color: rgb(62, 64, 42);
/* oklch */ color: oklch(36.3% 0.036 112.4);
Tailwind
colors: {
  custom: {
    50: '#737463',
    500: '#3e402a',
    950: '#000000',
  },
}
SCSS
$custom: #3e402a;
$custom-light: #737463;
$custom-dark: #000000;
JSON
{
  "hex": "#3e402a",
  "rgb": {
    "r": 62,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 65.455,
    "s": 20.755,
    "l": 20.784
  },
  "oklch": {
    "l": 0.36307,
    "c": 0.03569,
    "h": 112.4
  },
  "luminance": 0.04858
}

Semantic roles & 50–950 ramp

primary
#3E402A
secondary
#575571
accent
#6ABD72
background
#F7F7F5
surface
#EDEDEA
border
#C8C8C6
text
#080805
muted
#7B7B79

Preview Lab

Preview with #3E402A

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

Preview Lab → · Contrast checker → · Palette generator →

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