#4E450F#4E450F

#4E450F is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.9% C 0.072 H 99.5°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#4E450F
RGBrgb(78, 69, 15)
HSLhsl(51, 68%, 18%)
HSVhsv(51, 81%, 31%)
CMYKcmyk(0%, 11.5%, 80.8%, 69.4%)
CIE-LABlab(29.19, -3.07, 32.07)
CIE-LCHlch(29.19, 32.22, 95.47°)
OKLaboklab(38.85% -0.0118 0.0708)
OKLCHoklch(38.85% 0.072 99.5)
XYZxyz(5.3565, 5.9107, 1.3106)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E450F #0F184E
analogous
#4E250F #4E450F #374E0F
triadic
#4E450F #0F4E45 #450F4E
tetradic
#4E450F #0F4E25 #0F184E #4E0F37
square
#4E450F #0F4E25 #0F184E #4E0F37
split-complementary
#4E450F #0F374E #250F4E
monochromatic
#1A1705 #1B1805 #4E450F #817219 #B5A023

Accessibility & contrast

On white

9.62
#4E450F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4E450F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E450F
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E450F#FFFFFF#000000##FFFFFF
##4E450F1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4306
Deuteranopia (green-blind)
#4F4613
Tritanopia (blue-blind)
#553F3A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e450f;
/* rgb */ color: rgb(78, 69, 15);
/* oklch */ color: oklch(38.9% 0.072 99.5);
Tailwind
colors: {
  custom: {
    50: '#827852',
    500: '#4e450f',
    950: '#000000',
  },
}
SCSS
$custom: #4e450f;
$custom-light: #827852;
$custom-dark: #000000;
JSON
{
  "hex": "#4e450f",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 51.429,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.3885,
    "c": 0.07176,
    "h": 99.5
  },
  "luminance": 0.0591
}

Semantic roles & 50–950 ramp

primary
#4E450F
secondary
#313D88
accent
#56EB3D
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4E450F

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

Preview Lab → · Contrast checker → · Palette generator →

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