#4A4E1A#4A4E1A

#4A4E1A is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 40.8% C 0.073 H 113.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#4A4E1A
RGBrgb(74, 78, 26)
HSLhsl(65, 50%, 20%)
HSVhsv(65, 67%, 31%)
CMYKcmyk(5.1%, 0%, 66.7%, 69.4%)
CIE-LABlab(31.76, -9.75, 29.38)
CIE-LCHlch(31.76, 30.96, 108.36°)
OKLaboklab(40.84% -0.029 0.0673)
OKLCHoklch(40.84% 0.073 113.3)
XYZxyz(5.7350, 6.9793, 2.0221)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E1A #1E1A4E
analogous
#4E381A #4A4E1A #304E1A
triadic
#4A4E1A #1A4A4E #4E1A4A
tetradic
#4A4E1A #1A4E38 #1E1A4E #4E1A30
square
#4A4E1A #1A4E38 #1E1A4E #4E1A30
split-complementary
#4A4E1A #1A304E #381A4E
monochromatic
#161708 #1E200B #4A4E1A #767C29 #A1AA39

Accessibility & contrast

On white

8.77
#4A4E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4A4E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4E1A
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4E1A#FFFFFF#000000##FFFFFF
##4A4E1A1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A14
Deuteranopia (green-blind)
#544B1D
Tritanopia (blue-blind)
#4F4943
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a4e1a;
/* rgb */ color: rgb(74, 78, 26);
/* oklch */ color: oklch(40.8% 0.073 113.3);
Tailwind
colors: {
  custom: {
    50: '#7e7f59',
    500: '#4a4e1a',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e1a;
$custom-light: #7e7f59;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e1a",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 26
  },
  "hsl": {
    "h": 64.615,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40836,
    "c": 0.07331,
    "h": 113.3
  },
  "luminance": 0.06979
}

Semantic roles & 50–950 ramp

primary
#4A4E1A
secondary
#454084
accent
#4EDA59
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4A4E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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