#4A4E1B#4A4E1B

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

Color values

HEX#4A4E1B
RGBrgb(74, 78, 27)
HSLhsl(65, 49%, 21%)
HSVhsv(65, 65%, 31%)
CMYKcmyk(5.1%, 0%, 65.4%, 69.4%)
CIE-LABlab(31.77, -9.67, 28.88)
CIE-LCHlch(31.77, 30.46, 108.50°)
OKLaboklab(40.85% -0.0287 0.0664)
OKLCHoklch(40.85% 0.072 113.3)
XYZxyz(5.7464, 6.9839, 2.0820)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E1B #1F1B4E
analogous
#4E381B #4A4E1B #304E1B
triadic
#4A4E1B #1B4A4E #4E1B4A
tetradic
#4A4E1B #1B4E38 #1F1B4E #4E1B30
square
#4A4E1B #1B4E38 #1F1B4E #4E1B30
split-complementary
#4A4E1B #1B304E #381B4E
monochromatic
#161708 #1F210B #4A4E1B #757B2B #A0A93A

Accessibility & contrast

On white

8.76
#4A4E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A4E1B
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4E1B#FFFFFF#000000##FFFFFF
##4A4E1B1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a4e1b;
/* rgb */ color: rgb(74, 78, 27);
/* oklch */ color: oklch(40.8% 0.072 113.3);
Tailwind
colors: {
  custom: {
    50: '#7e7f5a',
    500: '#4a4e1b',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e1b;
$custom-light: #7e7f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e1b",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 27
  },
  "hsl": {
    "h": 64.706,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40847,
    "c": 0.07233,
    "h": 113.3
  },
  "luminance": 0.06984
}

Semantic roles & 50–950 ramp

primary
#4A4E1B
secondary
#464184
accent
#50D85A
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4A4E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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