#3E400A#3E400A

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

Color values

HEX#3E400A
RGBrgb(62, 64, 10)
HSLhsl(62, 73%, 15%)
HSVhsv(62, 84%, 25%)
CMYKcmyk(3.1%, 0%, 84.4%, 74.9%)
CIE-LABlab(25.90, -8.52, 30.46)
CIE-LCHlch(25.90, 31.63, 105.63°)
OKLaboklab(35.83% -0.0266 0.067)
OKLCHoklch(35.83% 0.072 111.7)
XYZxyz(3.8749, 4.7129, 0.9927)
Luminance0.0471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E400A #0C0A40
analogous
#40270A #3E400A #23400A
triadic
#3E400A #0A3E40 #400A3E
tetradic
#3E400A #0A4027 #0C0A40 #400A23
square
#3E400A #0A4027 #0C0A40 #400A23
split-complementary
#3E400A #0A2340 #270A40
monochromatic
#1A1A04 #1A1A04 #3E400A #717512 #A5AA1B

Accessibility & contrast

On white

10.81
#3E400A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3E400A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E400A
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E400A#FFFFFF#000000##FFFFFF
##3E400A1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D02
Deuteranopia (green-blind)
#463E0E
Tritanopia (blue-blind)
#433B36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e400a;
/* rgb */ color: rgb(62, 64, 10);
/* oklch */ color: oklch(35.8% 0.072 111.7);
Tailwind
colors: {
  custom: {
    50: '#75744e',
    500: '#3e400a',
    950: '#000000',
  },
}
SCSS
$custom: #3e400a;
$custom-light: #75744e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e400a",
  "rgb": {
    "r": 62,
    "g": 64,
    "b": 10
  },
  "hsl": {
    "h": 62.222,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.35829,
    "c": 0.07208,
    "h": 111.7
  },
  "luminance": 0.04713
}

Semantic roles & 50–950 ramp

primary
#3E400A
secondary
#2C297D
accent
#38F03F
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #3E400A

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

Preview Lab → · Contrast checker → · Palette generator →

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