#3E400B#3E400B

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

Color values

HEX#3E400B
RGBrgb(62, 64, 11)
HSLhsl(62, 71%, 15%)
HSVhsv(62, 83%, 25%)
CMYKcmyk(3.1%, 0%, 82.8%, 74.9%)
CIE-LABlab(25.91, -8.47, 30.06)
CIE-LCHlch(25.91, 31.23, 105.73°)
OKLaboklab(35.84% -0.0264 0.0664)
OKLCHoklch(35.84% 0.071 111.7)
XYZxyz(3.8805, 4.7152, 1.0222)
Luminance0.0471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E400B #0D0B40
analogous
#40280B #3E400B #24400B
triadic
#3E400B #0B3E40 #400B3E
tetradic
#3E400B #0B4028 #0D0B40 #400B24
square
#3E400B #0B4028 #0D0B40 #400B24
split-complementary
#3E400B #0B2440 #280B40
monochromatic
#191A04 #191A04 #3E400B #717414 #A3A81D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E400B#FFFFFF#000000##FFFFFF
##3E400B1.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)
#463D03
Deuteranopia (green-blind)
#463E0F
Tritanopia (blue-blind)
#433B36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e400b;
/* rgb */ color: rgb(62, 64, 11);
/* oklch */ color: oklch(35.8% 0.071 111.7);
Tailwind
colors: {
  custom: {
    50: '#75744e',
    500: '#3e400b',
    950: '#000000',
  },
}
SCSS
$custom: #3e400b;
$custom-light: #75744e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e400b",
  "rgb": {
    "r": 62,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 62.264,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.35837,
    "c": 0.0714,
    "h": 111.7
  },
  "luminance": 0.04715
}

Semantic roles & 50–950 ramp

primary
#3E400B
secondary
#2D2A7D
accent
#3AED41
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #3E400B

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

Preview Lab → · Contrast checker → · Palette generator →

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