#4A4714#4A4714

#4A4714 is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 39.0% C 0.070 H 106.0°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#4A4714
RGBrgb(74, 71, 20)
HSLhsl(57, 57%, 18%)
HSVhsv(57, 73%, 29%)
CMYKcmyk(0%, 4.1%, 73%, 71%)
CIE-LABlab(29.45, -6.03, 29.90)
CIE-LCHlch(29.45, 30.50, 101.40°)
OKLaboklab(38.97% -0.0193 0.0674)
OKLCHoklch(38.97% 0.07 106)
XYZxyz(5.2037, 6.0130, 1.5482)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4714 #14174A
analogous
#4A2C14 #4A4714 #324A14
triadic
#4A4714 #144A47 #47144A
tetradic
#4A4714 #144A2C #14174A #4A1432
square
#4A4714 #144A2C #14174A #4A1432
split-complementary
#4A4714 #14324A #2C144A
monochromatic
#181707 #1A1907 #4A4714 #7A7521 #AAA32E

Accessibility & contrast

On white

9.53
#4A4714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4A4714 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4714
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4714#FFFFFF#000000##FFFFFF
##4A47141.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E440D
Deuteranopia (green-blind)
#4F4617
Tritanopia (blue-blind)
#50423D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a4714;
/* rgb */ color: rgb(74, 71, 20);
/* oklch */ color: oklch(39.0% 0.070 106.0);
Tailwind
colors: {
  custom: {
    50: '#7f7a55',
    500: '#4a4714',
    950: '#000000',
  },
}
SCSS
$custom: #4a4714;
$custom-light: #7f7a55;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4714",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 20
  },
  "hsl": {
    "h": 56.667,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3897,
    "c": 0.07008,
    "h": 106
  },
  "luminance": 0.06013
}

Semantic roles & 50–950 ramp

primary
#4A4714
secondary
#383C82
accent
#50E147
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4A4714

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

Preview Lab → · Contrast checker → · Palette generator →

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