#4E460F#4E460F

#4E460F is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 39.1% C 0.073 H 100.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#4E460F
RGBrgb(78, 70, 15)
HSLhsl(52, 68%, 18%)
HSVhsv(52, 81%, 31%)
CMYKcmyk(0%, 10.3%, 80.8%, 69.4%)
CIE-LABlab(29.50, -3.69, 32.37)
CIE-LCHlch(29.50, 32.58, 96.50°)
OKLaboklab(39.1% -0.0135 0.0714)
OKLCHoklch(39.1% 0.073 100.7)
XYZxyz(5.4185, 6.0348, 1.3313)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E460F #0F174E
analogous
#4E260F #4E460F #364E0F
triadic
#4E460F #0F4E46 #460F4E
tetradic
#4E460F #0F4E26 #0F174E #4E0F36
square
#4E460F #0F4E26 #0F174E #4E0F36
split-complementary
#4E460F #0F364E #260F4E
monochromatic
#1A1705 #1B1805 #4E460F #817419 #B5A223

Accessibility & contrast

On white

9.52
#4E460F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4E460F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E460F
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E460F#FFFFFF#000000##FFFFFF
##4E460F1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4406
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#55403B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e460f;
/* rgb */ color: rgb(78, 70, 15);
/* oklch */ color: oklch(39.1% 0.073 100.7);
Tailwind
colors: {
  custom: {
    50: '#827952',
    500: '#4e460f',
    950: '#000000',
  },
}
SCSS
$custom: #4e460f;
$custom-light: #827952;
$custom-dark: #000000;
JSON
{
  "hex": "#4e460f",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 52.381,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39099,
    "c": 0.07269,
    "h": 100.7
  },
  "luminance": 0.06035
}

Semantic roles & 50–950 ramp

primary
#4E460F
secondary
#313C88
accent
#53EB3D
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4E460F

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

Preview Lab → · Contrast checker → · Palette generator →

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