#4A4811#4A4811

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

Color values

HEX#4A4811
RGBrgb(74, 72, 17)
HSLhsl(58, 63%, 18%)
HSVhsv(58, 77%, 29%)
CMYKcmyk(0%, 2.7%, 77%, 71%)
CIE-LABlab(29.74, -6.83, 31.59)
CIE-LCHlch(29.74, 32.32, 102.19°)
OKLaboklab(39.2% -0.0219 0.0704)
OKLCHoklch(39.2% 0.074 107.3)
XYZxyz(5.2428, 6.1312, 1.4375)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4811 #11134A
analogous
#4A2B11 #4A4811 #2F4A11
triadic
#4A4811 #114A48 #48114A
tetradic
#4A4811 #114A2B #11134A #4A112F
square
#4A4811 #114A2B #11134A #4A112F
split-complementary
#4A4811 #112F4A #2B114A
monochromatic
#191806 #191806 #4A4811 #7C781C #AEA928

Accessibility & contrast

On white

9.43
#4A4811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4A4811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4811
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4811#FFFFFF#000000##FFFFFF
##4A48111.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4508
Deuteranopia (green-blind)
#504715
Tritanopia (blue-blind)
#50433D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4a4811;
/* rgb */ color: rgb(74, 72, 17);
/* oklch */ color: oklch(39.2% 0.074 107.3);
Tailwind
colors: {
  custom: {
    50: '#7f7a53',
    500: '#4a4811',
    950: '#000000',
  },
}
SCSS
$custom: #4a4811;
$custom-light: #7f7a53;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4811",
  "rgb": {
    "r": 74,
    "g": 72,
    "b": 17
  },
  "hsl": {
    "h": 57.895,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.39197,
    "c": 0.07369,
    "h": 107.3
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#4A4811
secondary
#333683
accent
#48E642
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4A4811

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

Preview Lab → · Contrast checker → · Palette generator →

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