#4A501B#4A501B

#4A501B is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.4% C 0.075 H 115.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#4A501B
RGBrgb(74, 80, 27)
HSLhsl(67, 50%, 21%)
HSVhsv(67, 66%, 31%)
CMYKcmyk(7.5%, 0%, 66.3%, 68.6%)
CIE-LABlab(32.42, -10.83, 29.59)
CIE-LCHlch(32.42, 31.51, 110.11°)
OKLaboklab(41.37% -0.0319 0.0679)
OKLCHoklch(41.37% 0.075 115.2)
XYZxyz(5.8907, 7.2724, 2.1301)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A501B #211B50
analogous
#503B1B #4A501B #2F501B
triadic
#4A501B #1B4A50 #501B4A
tetradic
#4A501B #1B503B #211B50 #501B2F
square
#4A501B #1B503B #211B50 #501B2F
split-complementary
#4A501B #1B2F50 #3B1B50
monochromatic
#151708 #20220C #4A501B #747E2A #9FAC3A

Accessibility & contrast

On white

8.56
#4A501B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4A501B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A501B
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A501B#FFFFFF#000000##FFFFFF
##4A501B1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C15
Deuteranopia (green-blind)
#554D1E
Tritanopia (blue-blind)
#4F4B45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a501b;
/* rgb */ color: rgb(74, 80, 27);
/* oklch */ color: oklch(41.4% 0.075 115.2);
Tailwind
colors: {
  custom: {
    50: '#7e815a',
    500: '#4a501b',
    950: '#000000',
  },
}
SCSS
$custom: #4a501b;
$custom-light: #7e815a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a501b",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 27
  },
  "hsl": {
    "h": 66.792,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41367,
    "c": 0.07506,
    "h": 115.2
  },
  "luminance": 0.07272
}

Semantic roles & 50–950 ramp

primary
#4A501B
secondary
#494186
accent
#4FD95E
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4A501B

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

Preview Lab → · Contrast checker → · Palette generator →

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