#4A480A#4A480A

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

Color values

HEX#4A480A
RGBrgb(74, 72, 10)
HSLhsl(58, 76%, 16%)
HSVhsv(58, 86%, 29%)
CMYKcmyk(0%, 2.7%, 86.5%, 71%)
CIE-LABlab(29.70, -7.19, 34.36)
CIE-LCHlch(29.70, 35.11, 101.82°)
OKLaboklab(39.15% -0.0237 0.0747)
OKLCHoklch(39.15% 0.078 107.6)
XYZxyz(5.1964, 6.1127, 1.1932)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A480A #0A0C4A
analogous
#4A280A #4A480A #2C4A0A
triadic
#4A480A #0A4A48 #480A4A
tetradic
#4A480A #0A4A28 #0A0C4A #4A0A2C
square
#4A480A #0A4A28 #0A0C4A #4A0A2C
split-complementary
#4A480A #0A2C4A #280A4A
monochromatic
#1B1A04 #1B1A04 #4A480A #807C11 #B6B119

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A480A#FFFFFF#000000##FFFFFF
##4A480A1.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: #4a480a;
/* rgb */ color: rgb(74, 72, 10);
/* oklch */ color: oklch(39.1% 0.078 107.6);
Tailwind
colors: {
  custom: {
    50: '#7f7a50',
    500: '#4a480a',
    950: '#000000',
  },
}
SCSS
$custom: #4a480a;
$custom-light: #7f7a50;
$custom-dark: #000000;
JSON
{
  "hex": "#4a480a",
  "rgb": {
    "r": 74,
    "g": 72,
    "b": 10
  },
  "hsl": {
    "h": 58.125,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.39146,
    "c": 0.07839,
    "h": 107.6
  },
  "luminance": 0.06112
}

Semantic roles & 50–950 ramp

primary
#4A480A
secondary
#292C87
accent
#3BF335
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4A480A

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

Preview Lab → · Contrast checker → · Palette generator →

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