#4A4813#4A4813

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

Color values

HEX#4A4813
RGBrgb(74, 72, 19)
HSLhsl(58, 59%, 18%)
HSVhsv(58, 74%, 29%)
CMYKcmyk(0%, 2.7%, 74.3%, 71%)
CIE-LABlab(29.76, -6.70, 30.70)
CIE-LCHlch(29.76, 31.42, 102.32°)
OKLaboklab(39.22% -0.0213 0.0689)
OKLCHoklch(39.22% 0.072 107.2)
XYZxyz(5.2591, 6.1378, 1.5236)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4813 #13154A
analogous
#4A2C13 #4A4813 #304A13
triadic
#4A4813 #134A48 #48134A
tetradic
#4A4813 #134A2C #13154A #4A1330
square
#4A4813 #134A2C #13154A #4A1330
split-complementary
#4A4813 #13304A #2C134A
monochromatic
#181806 #191906 #4A4813 #7B7720 #ABA72C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A4813#FFFFFF#000000##FFFFFF
##4A48131.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)
#4F450B
Deuteranopia (green-blind)
#504716
Tritanopia (blue-blind)
#50433D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4a4813;
/* rgb */ color: rgb(74, 72, 19);
/* oklch */ color: oklch(39.2% 0.072 107.2);
Tailwind
colors: {
  custom: {
    50: '#7f7a54',
    500: '#4a4813',
    950: '#000000',
  },
}
SCSS
$custom: #4a4813;
$custom-light: #7f7a54;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4813",
  "rgb": {
    "r": 74,
    "g": 72,
    "b": 19
  },
  "hsl": {
    "h": 57.818,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39216,
    "c": 0.07209,
    "h": 107.2
  },
  "luminance": 0.06138
}

Semantic roles & 50–950 ramp

primary
#4A4813
secondary
#363983
accent
#4BE245
background
#F7F7F5
surface
#EEEDE8
border
#C9C8C4
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4A4813

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

Preview Lab → · Contrast checker → · Palette generator →

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