#4A4809#4A4809

#4A4809 is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.1% C 0.079 H 107.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#4A4809
RGBrgb(74, 72, 9)
HSLhsl(58, 78%, 16%)
HSVhsv(58, 88%, 29%)
CMYKcmyk(0%, 2.7%, 87.8%, 71%)
CIE-LABlab(29.69, -7.24, 34.71)
CIE-LCHlch(29.69, 35.46, 101.78°)
OKLaboklab(39.14% -0.0239 0.0753)
OKLCHoklch(39.14% 0.079 107.6)
XYZxyz(5.1909, 6.1105, 1.1644)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4809 #090B4A
analogous
#4A2809 #4A4809 #2C4A09
triadic
#4A4809 #094A48 #48094A
tetradic
#4A4809 #094A28 #090B4A #4A092C
square
#4A4809 #094A28 #090B4A #4A092C
split-complementary
#4A4809 #092C4A #28094A
monochromatic
#1B1B03 #1B1B03 #4A4809 #817D10 #B7B216

Accessibility & contrast

On white

9.45
#4A4809 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4A4809 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4809
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4809#FFFFFF#000000##FFFFFF
##4A48091.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4500
Deuteranopia (green-blind)
#50470F
Tritanopia (blue-blind)
#50433D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4a4809;
/* rgb */ color: rgb(74, 72, 9);
/* oklch */ color: oklch(39.1% 0.079 107.6);
Tailwind
colors: {
  custom: {
    50: '#7f7a4f',
    500: '#4a4809',
    950: '#000000',
  },
}
SCSS
$custom: #4a4809;
$custom-light: #7f7a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4809",
  "rgb": {
    "r": 74,
    "g": 72,
    "b": 9
  },
  "hsl": {
    "h": 58.154,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.3914,
    "c": 0.07896,
    "h": 107.6
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#4A4809
secondary
#272A87
accent
#39F533
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4A4809

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

Preview Lab → · Contrast checker → · Palette generator →

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