#4A480B#4A480B

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

Color values

HEX#4A480B
RGBrgb(74, 72, 11)
HSLhsl(58, 74%, 17%)
HSVhsv(58, 85%, 29%)
CMYKcmyk(0%, 2.7%, 85.1%, 71%)
CIE-LABlab(29.70, -7.15, 34.01)
CIE-LCHlch(29.70, 34.75, 101.87°)
OKLaboklab(39.15% -0.0235 0.0742)
OKLCHoklch(39.15% 0.078 107.5)
XYZxyz(5.2020, 6.1149, 1.2228)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A480B #0B0D4A
analogous
#4A290B #4A480B #2D4A0B
triadic
#4A480B #0B4A48 #480B4A
tetradic
#4A480B #0B4A29 #0B0D4A #4A0B2D
square
#4A480B #0B4A29 #0B0D4A #4A0B2D
split-complementary
#4A480B #0B2D4A #290B4A
monochromatic
#1B1A04 #1B1A04 #4A480B #7F7C13 #B5B01B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A480B#FFFFFF#000000##FFFFFF
##4A480B1.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)
#504710
Tritanopia (blue-blind)
#50433D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4a480b;
/* rgb */ color: rgb(74, 72, 11);
/* oklch */ color: oklch(39.2% 0.078 107.5);
Tailwind
colors: {
  custom: {
    50: '#7f7a50',
    500: '#4a480b',
    950: '#000000',
  },
}
SCSS
$custom: #4a480b;
$custom-light: #7f7a50;
$custom-dark: #000000;
JSON
{
  "hex": "#4a480b",
  "rgb": {
    "r": 74,
    "g": 72,
    "b": 11
  },
  "hsl": {
    "h": 58.095,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.39152,
    "c": 0.07781,
    "h": 107.5
  },
  "luminance": 0.06115
}

Semantic roles & 50–950 ramp

primary
#4A480B
secondary
#2B2D86
accent
#3DF137
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4A480B

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

Preview Lab → · Contrast checker → · Palette generator →

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