#3E400E#3E400E

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

Color values

HEX#3E400E
RGBrgb(62, 64, 14)
HSLhsl(62, 64%, 15%)
HSVhsv(62, 78%, 25%)
CMYKcmyk(3.1%, 0%, 78.1%, 74.9%)
CIE-LABlab(25.93, -8.28, 28.78)
CIE-LCHlch(25.93, 29.95, 106.06°)
OKLaboklab(35.86% -0.0255 0.0643)
OKLCHoklch(35.86% 0.069 111.7)
XYZxyz(3.8994, 4.7227, 1.1215)
Luminance0.0472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E400E #100E40
analogous
#40290E #3E400E #25400E
triadic
#3E400E #0E3E40 #400E3E
tetradic
#3E400E #0E4029 #100E40 #400E25
square
#3E400E #0E4029 #100E40 #400E25
split-complementary
#3E400E #0E2540 #290E40
monochromatic
#181905 #181905 #3E400E #6F7219 #9FA424

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E400E#FFFFFF#000000##FFFFFF
##3E400E1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e400e;
/* rgb */ color: rgb(62, 64, 14);
/* oklch */ color: oklch(35.9% 0.069 111.7);
Tailwind
colors: {
  custom: {
    50: '#757450',
    500: '#3e400e',
    950: '#000000',
  },
}
SCSS
$custom: #3e400e;
$custom-light: #757450;
$custom-dark: #000000;
JSON
{
  "hex": "#3e400e",
  "rgb": {
    "r": 62,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 62.4,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.35862,
    "c": 0.06915,
    "h": 111.7
  },
  "luminance": 0.04723
}

Semantic roles & 50–950 ramp

primary
#3E400E
secondary
#322F7B
accent
#41E747
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3E400E

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

Preview Lab → · Contrast checker → · Palette generator →

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