#4A4810#4A4810

#4A4810 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.44:1 contrast (WCAG AA passes).

Color values

HEX#4A4810
RGBrgb(74, 72, 16)
HSLhsl(58, 64%, 18%)
HSVhsv(58, 78%, 29%)
CMYKcmyk(0%, 2.7%, 78.4%, 71%)
CIE-LABlab(29.73, -6.89, 32.03)
CIE-LCHlch(29.73, 32.76, 102.14°)
OKLaboklab(39.19% -0.0222 0.0711)
OKLCHoklch(39.19% 0.074 107.3)
XYZxyz(5.2351, 6.1282, 1.3972)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4810 #10124A
analogous
#4A2B10 #4A4810 #2F4A10
triadic
#4A4810 #104A48 #48104A
tetradic
#4A4810 #104A2B #10124A #4A102F
square
#4A4810 #104A2B #10124A #4A102F
split-complementary
#4A4810 #102F4A #2B104A
monochromatic
#191805 #191805 #4A4810 #7C791B #AFAA26

Accessibility & contrast

On white

9.44
#4A4810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A4810
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4810#FFFFFF#000000##FFFFFF
##4A48101.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a4810;
/* rgb */ color: rgb(74, 72, 16);
/* oklch */ color: oklch(39.2% 0.074 107.3);
Tailwind
colors: {
  custom: {
    50: '#7f7a53',
    500: '#4a4810',
    950: '#000000',
  },
}
SCSS
$custom: #4a4810;
$custom-light: #7f7a53;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4810",
  "rgb": {
    "r": 74,
    "g": 72,
    "b": 16
  },
  "hsl": {
    "h": 57.931,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.39189,
    "c": 0.07445,
    "h": 107.3
  },
  "luminance": 0.06128
}

Semantic roles & 50–950 ramp

primary
#4A4810
secondary
#323584
accent
#46E740
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4A4810

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

Preview Lab → · Contrast checker → · Palette generator →

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