#3E400F#3E400F

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

Color values

HEX#3E400F
RGBrgb(62, 64, 15)
HSLhsl(62, 62%, 15%)
HSVhsv(62, 77%, 25%)
CMYKcmyk(3.1%, 0%, 76.6%, 74.9%)
CIE-LABlab(25.94, -8.22, 28.32)
CIE-LCHlch(25.94, 29.49, 106.18°)
OKLaboklab(35.87% -0.0252 0.0635)
OKLCHoklch(35.87% 0.068 111.7)
XYZxyz(3.9063, 4.7255, 1.1582)
Luminance0.0473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E400F #110F40
analogous
#40290F #3E400F #25400F
triadic
#3E400F #0F3E40 #400F3E
tetradic
#3E400F #0F4029 #110F40 #400F25
square
#3E400F #0F4029 #110F40 #400F25
split-complementary
#3E400F #0F2540 #290F40
monochromatic
#181906 #181906 #3E400F #6E721B #9EA326

Accessibility & contrast

On white

10.80
#3E400F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3E400F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E400F
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E400F#FFFFFF#000000##FFFFFF
##3E400F1.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D08
Deuteranopia (green-blind)
#463E12
Tritanopia (blue-blind)
#433C36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e400f;
/* rgb */ color: rgb(62, 64, 15);
/* oklch */ color: oklch(35.9% 0.068 111.7);
Tailwind
colors: {
  custom: {
    50: '#757451',
    500: '#3e400f',
    950: '#000000',
  },
}
SCSS
$custom: #3e400f;
$custom-light: #757451;
$custom-dark: #000000;
JSON
{
  "hex": "#3e400f",
  "rgb": {
    "r": 62,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 62.449,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.35871,
    "c": 0.06832,
    "h": 111.7
  },
  "luminance": 0.04725
}

Semantic roles & 50–950 ramp

primary
#3E400F
secondary
#33307A
accent
#43E549
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3E400F

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

Preview Lab → · Contrast checker → · Palette generator →

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