#4E4A0D#4E4A0D

#4E4A0D is a dark, moderate yellow. Relative luminance 0.065; OKLCH L 40.1% C 0.078 H 105.5°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#4E4A0D
RGBrgb(78, 74, 13)
HSLhsl(56, 71%, 18%)
HSVhsv(56, 83%, 31%)
CMYKcmyk(0%, 5.1%, 83.3%, 69.4%)
CIE-LABlab(30.75, -6.22, 34.36)
CIE-LCHlch(30.75, 34.92, 100.26°)
OKLaboklab(40.09% -0.0209 0.0752)
OKLCHoklch(40.09% 0.078 105.5)
XYZxyz(5.6636, 6.5465, 1.3460)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A0D #0D114E
analogous
#4E290D #4E4A0D #314E0D
triadic
#4E4A0D #0D4E4A #4A0D4E
tetradic
#4E4A0D #0D4E29 #0D114E #4E0D31
square
#4E4A0D #0D4E29 #0D114E #4E0D31
split-complementary
#4E4A0D #0D314E #290D4E
monochromatic
#1A1904 #1A1904 #4E4A0D #827C16 #B7AE1E

Accessibility & contrast

On white

9.09
#4E4A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4E4A0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A0D
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A0D#FFFFFF#000000##FFFFFF
##4E4A0D1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514702
Deuteranopia (green-blind)
#534A12
Tritanopia (blue-blind)
#54443E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e4a0d;
/* rgb */ color: rgb(78, 74, 13);
/* oklch */ color: oklch(40.1% 0.078 105.5);
Tailwind
colors: {
  custom: {
    50: '#827c51',
    500: '#4e4a0d',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a0d;
$custom-light: #827c51;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a0d",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 13
  },
  "hsl": {
    "h": 56.308,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.4009,
    "c": 0.07805,
    "h": 105.5
  },
  "luminance": 0.06546
}

Semantic roles & 50–950 ramp

primary
#4E4A0D
secondary
#2E3389
accent
#45EE3A
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4E4A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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