#4E400E#4E400E

#4E400E is a dark, moderate yellow. Relative luminance 0.053; OKLCH L 37.6% C 0.068 H 92.7°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#4E400E
RGBrgb(78, 64, 14)
HSLhsl(47, 70%, 18%)
HSVhsv(47, 82%, 31%)
CMYKcmyk(0%, 17.9%, 82.1%, 69.4%)
CIE-LABlab(27.62, -0.00, 31.01)
CIE-LCHlch(27.62, 31.01, 90.01°)
OKLaboklab(37.61% -0.0032 0.0683)
OKLCHoklch(37.61% 0.068 92.7)
XYZxyz(5.0548, 5.3185, 1.1757)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E400E #0E1C4E
analogous
#4E200E #4E400E #3C4E0E
triadic
#4E400E #0E4E40 #400E4E
tetradic
#4E400E #0E4E20 #0E1C4E #4E0E3C
square
#4E400E #0E4E20 #0E1C4E #4E0E3C
split-complementary
#4E400E #0E3C4E #200E4E
monochromatic
#1A1505 #1A1505 #4E400E #826B17 #B69521

Accessibility & contrast

On white

10.18
#4E400E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4E400E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E400E
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E400E#FFFFFF#000000##FFFFFF
##4E400E1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F06
Deuteranopia (green-blind)
#4B4311
Tritanopia (blue-blind)
#553A36
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e400e;
/* rgb */ color: rgb(78, 64, 14);
/* oklch */ color: oklch(37.6% 0.068 92.7);
Tailwind
colors: {
  custom: {
    50: '#827450',
    500: '#4e400e',
    950: '#000000',
  },
}
SCSS
$custom: #4e400e;
$custom-light: #827450;
$custom-dark: #000000;
JSON
{
  "hex": "#4e400e",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 46.875,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37611,
    "c": 0.06836,
    "h": 92.7
  },
  "luminance": 0.05318
}

Semantic roles & 50–950 ramp

primary
#4E400E
secondary
#2F4389
accent
#62EC3B
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4E400E

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

Preview Lab → · Contrast checker → · Palette generator →

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