#4A500D#4A500D

#4A500D is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.2% C 0.086 H 114.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4A500D
RGBrgb(74, 80, 13)
HSLhsl(65, 72%, 18%)
HSVhsv(65, 84%, 31%)
CMYKcmyk(7.5%, 0%, 83.7%, 68.6%)
CIE-LABlab(32.31, -11.77, 35.66)
CIE-LCHlch(32.31, 37.55, 108.26°)
OKLaboklab(41.24% -0.0361 0.0781)
OKLCHoklch(41.24% 0.086 114.8)
XYZxyz(5.7655, 7.2223, 1.4710)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A500D #130D50
analogous
#50340D #4A500D #28500D
triadic
#4A500D #0D4A50 #500D4A
tetradic
#4A500D #0D5034 #130D50 #500D28
square
#4A500D #0D5034 #130D50 #500D28
split-complementary
#4A500D #0D2850 #340D50
monochromatic
#181A04 #191B04 #4A500D #7B8516 #ABB91E

Accessibility & contrast

On white

8.59
#4A500D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4A500D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A500D
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A500D#FFFFFF#000000##FFFFFF
##4A500D1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C00
Deuteranopia (green-blind)
#564D13
Tritanopia (blue-blind)
#4F4B44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a500d;
/* rgb */ color: rgb(74, 80, 13);
/* oklch */ color: oklch(41.2% 0.086 114.8);
Tailwind
colors: {
  custom: {
    50: '#7f8052',
    500: '#4a500d',
    950: '#000000',
  },
}
SCSS
$custom: #4a500d;
$custom-light: #7f8052;
$custom-dark: #000000;
JSON
{
  "hex": "#4a500d",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 13
  },
  "hsl": {
    "h": 65.373,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.41242,
    "c": 0.08606,
    "h": 114.8
  },
  "luminance": 0.07222
}

Semantic roles & 50–950 ramp

primary
#4A500D
secondary
#362E8B
accent
#39EF49
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #4A500D

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

Preview Lab → · Contrast checker → · Palette generator →

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