#4E480F#4E480F

#4E480F is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.6% C 0.075 H 103.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#4E480F
RGBrgb(78, 72, 15)
HSLhsl(54, 68%, 18%)
HSVhsv(54, 81%, 31%)
CMYKcmyk(0%, 7.7%, 80.8%, 69.4%)
CIE-LABlab(30.13, -4.91, 32.98)
CIE-LCHlch(30.13, 33.34, 98.47°)
OKLaboklab(39.6% -0.017 0.0727)
OKLCHoklch(39.6% 0.075 103.2)
XYZxyz(5.5457, 6.2892, 1.3737)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E480F #0F154E
analogous
#4E280F #4E480F #344E0F
triadic
#4E480F #0F4E48 #480F4E
tetradic
#4E480F #0F4E28 #0F154E #4E0F34
square
#4E480F #0F4E28 #0F154E #4E0F34
split-complementary
#4E480F #0F344E #280F4E
monochromatic
#1A1805 #1B1905 #4E480F #817719 #B5A723

Accessibility & contrast

On white

9.30
#4E480F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4E480F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E480F
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E480F#FFFFFF#000000##FFFFFF
##4E480F1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4505
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#55423D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e480f;
/* rgb */ color: rgb(78, 72, 15);
/* oklch */ color: oklch(39.6% 0.075 103.2);
Tailwind
colors: {
  custom: {
    50: '#827a52',
    500: '#4e480f',
    950: '#000000',
  },
}
SCSS
$custom: #4e480f;
$custom-light: #827a52;
$custom-dark: #000000;
JSON
{
  "hex": "#4e480f",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 54.286,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.396,
    "c": 0.07466,
    "h": 103.2
  },
  "luminance": 0.06289
}

Semantic roles & 50–950 ramp

primary
#4E480F
secondary
#313988
accent
#4EEB3D
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4E480F

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

Preview Lab → · Contrast checker → · Palette generator →

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