#4A470A#4A470A

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

Color values

HEX#4A470A
RGBrgb(74, 71, 10)
HSLhsl(57, 76%, 16%)
HSVhsv(57, 86%, 29%)
CMYKcmyk(0%, 4.1%, 86.5%, 71%)
CIE-LABlab(29.37, -6.59, 34.07)
CIE-LCHlch(29.37, 34.70, 100.94°)
OKLaboklab(38.89% -0.022 0.0741)
OKLCHoklch(38.89% 0.077 106.5)
XYZxyz(5.1323, 5.9844, 1.1719)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A470A #0A0D4A
analogous
#4A270A #4A470A #2D4A0A
triadic
#4A470A #0A4A47 #470A4A
tetradic
#4A470A #0A4A27 #0A0D4A #4A0A2D
square
#4A470A #0A4A27 #0A0D4A #4A0A2D
split-complementary
#4A470A #0A2D4A #270A4A
monochromatic
#1B1A04 #1B1A04 #4A470A #807B11 #B6AE19

Accessibility & contrast

On white

9.56
#4A470A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A470A
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A470A#FFFFFF#000000##FFFFFF
##4A470A1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a470a;
/* rgb */ color: rgb(74, 71, 10);
/* oklch */ color: oklch(38.9% 0.077 106.5);
Tailwind
colors: {
  custom: {
    50: '#7f794f',
    500: '#4a470a',
    950: '#000000',
  },
}
SCSS
$custom: #4a470a;
$custom-light: #7f794f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a470a",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 10
  },
  "hsl": {
    "h": 57.188,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.38889,
    "c": 0.0773,
    "h": 106.5
  },
  "luminance": 0.05984
}

Semantic roles & 50–950 ramp

primary
#4A470A
secondary
#292D87
accent
#3EF335
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4A470A

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

Preview Lab → · Contrast checker → · Palette generator →

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