#4A4710#4A4710

#4A4710 is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 38.9% C 0.073 H 106.2°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#4A4710
RGBrgb(74, 71, 16)
HSLhsl(57, 64%, 18%)
HSVhsv(57, 78%, 29%)
CMYKcmyk(0%, 4.1%, 78.4%, 71%)
CIE-LABlab(29.41, -6.28, 31.71)
CIE-LCHlch(29.41, 32.33, 101.21°)
OKLaboklab(38.93% -0.0205 0.0704)
OKLCHoklch(38.93% 0.073 106.2)
XYZxyz(5.1710, 5.9999, 1.3758)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4710 #10134A
analogous
#4A2A10 #4A4710 #304A10
triadic
#4A4710 #104A47 #47104A
tetradic
#4A4710 #104A2A #10134A #4A1030
square
#4A4710 #104A2A #10134A #4A1030
split-complementary
#4A4710 #10304A #2A104A
monochromatic
#191805 #191805 #4A4710 #7C771B #AFA826

Accessibility & contrast

On white

9.55
#4A4710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A4710
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4710#FFFFFF#000000##FFFFFF
##4A47101.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4407
Deuteranopia (green-blind)
#4F4614
Tritanopia (blue-blind)
#50423C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a4710;
/* rgb */ color: rgb(74, 71, 16);
/* oklch */ color: oklch(38.9% 0.073 106.2);
Tailwind
colors: {
  custom: {
    50: '#7f7a52',
    500: '#4a4710',
    950: '#000000',
  },
}
SCSS
$custom: #4a4710;
$custom-light: #7f7a52;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4710",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 16
  },
  "hsl": {
    "h": 56.897,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.38933,
    "c": 0.07333,
    "h": 106.2
  },
  "luminance": 0.06
}

Semantic roles & 50–950 ramp

primary
#4A4710
secondary
#323684
accent
#49E740
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4A4710

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

Preview Lab → · Contrast checker → · Palette generator →

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