#4E400B#4E400B

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

Color values

HEX#4E400B
RGBrgb(78, 64, 11)
HSLhsl(47, 75%, 17%)
HSVhsv(47, 86%, 31%)
CMYKcmyk(0%, 17.9%, 85.9%, 69.4%)
CIE-LABlab(27.60, -0.15, 32.25)
CIE-LCHlch(27.60, 32.25, 90.26°)
OKLaboklab(37.59% -0.004 0.0702)
OKLCHoklch(37.59% 0.07 93.2)
XYZxyz(5.0360, 5.3110, 1.0764)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E400B #0B194E
analogous
#4E1F0B #4E400B #3A4E0B
triadic
#4E400B #0B4E40 #400B4E
tetradic
#4E400B #0B4E1F #0B194E #4E0B3A
square
#4E400B #0B4E1F #0B194E #4E0B3A
split-complementary
#4E400B #0B3A4E #1F0B4E
monochromatic
#1B1604 #1B1604 #4E400B #846C13 #B9981A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E400B#FFFFFF#000000##FFFFFF
##4E400B1.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)
#483F02
Deuteranopia (green-blind)
#4C430E
Tritanopia (blue-blind)
#553A36
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e400b;
/* rgb */ color: rgb(78, 64, 11);
/* oklch */ color: oklch(37.6% 0.070 93.2);
Tailwind
colors: {
  custom: {
    50: '#83744f',
    500: '#4e400b',
    950: '#000000',
  },
}
SCSS
$custom: #4e400b;
$custom-light: #83744f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e400b",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 47.463,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37588,
    "c": 0.07034,
    "h": 93.2
  },
  "luminance": 0.05311
}

Semantic roles & 50–950 ramp

primary
#4E400B
secondary
#2B3F8A
accent
#5DF236
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4E400B

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

Preview Lab → · Contrast checker → · Palette generator →

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