#3E400C#3E400C

#3E400C 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#3E400C
RGBrgb(62, 64, 12)
HSLhsl(62, 68%, 15%)
HSVhsv(62, 81%, 25%)
CMYKcmyk(3.1%, 0%, 81.2%, 74.9%)
CIE-LABlab(25.91, -8.41, 29.65)
CIE-LCHlch(25.91, 30.82, 105.84°)
OKLaboklab(35.84% -0.0261 0.0657)
OKLCHoklch(35.84% 0.071 111.7)
XYZxyz(3.8865, 4.7176, 1.0536)
Luminance0.0472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E400C #0E0C40
analogous
#40280C #3E400C #24400C
triadic
#3E400C #0C3E40 #400C3E
tetradic
#3E400C #0C4028 #0E0C40 #400C24
square
#3E400C #0C4028 #0E0C40 #400C24
split-complementary
#3E400C #0C2440 #280C40
monochromatic
#191A05 #191A05 #3E400C #707416 #A2A71F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E400C#FFFFFF#000000##FFFFFF
##3E400C1.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)
#463D04
Deuteranopia (green-blind)
#463E10
Tritanopia (blue-blind)
#433C36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e400c;
/* rgb */ color: rgb(62, 64, 12);
/* oklch */ color: oklch(35.8% 0.071 111.7);
Tailwind
colors: {
  custom: {
    50: '#75744f',
    500: '#3e400c',
    950: '#000000',
  },
}
SCSS
$custom: #3e400c;
$custom-light: #75744f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e400c",
  "rgb": {
    "r": 62,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 62.308,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35844,
    "c": 0.07068,
    "h": 111.7
  },
  "luminance": 0.04717
}

Semantic roles & 50–950 ramp

primary
#3E400C
secondary
#2F2C7C
accent
#3DEB43
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #3E400C

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

Preview Lab → · Contrast checker → · Palette generator →

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