#4A470F#4A470F

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

Color values

HEX#4A470F
RGBrgb(74, 71, 15)
HSLhsl(57, 66%, 17%)
HSVhsv(57, 80%, 29%)
CMYKcmyk(0%, 4.1%, 79.7%, 71%)
CIE-LABlab(29.40, -6.34, 32.14)
CIE-LCHlch(29.40, 32.76, 101.16°)
OKLaboklab(38.92% -0.0208 0.0711)
OKLCHoklch(38.92% 0.074 106.3)
XYZxyz(5.1637, 5.9970, 1.3374)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A470F #0F124A
analogous
#4A290F #4A470F #304A0F
triadic
#4A470F #0F4A47 #470F4A
tetradic
#4A470F #0F4A29 #0F124A #4A0F30
square
#4A470F #0F4A29 #0F124A #4A0F30
split-complementary
#4A470F #0F304A #290F4A
monochromatic
#191805 #191805 #4A470F #7D7819 #B0A924

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A470F#FFFFFF#000000##FFFFFF
##4A470F1.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)
#4E4406
Deuteranopia (green-blind)
#4F4613
Tritanopia (blue-blind)
#50423C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a470f;
/* rgb */ color: rgb(74, 71, 15);
/* oklch */ color: oklch(38.9% 0.074 106.3);
Tailwind
colors: {
  custom: {
    50: '#7f7a52',
    500: '#4a470f',
    950: '#000000',
  },
}
SCSS
$custom: #4a470f;
$custom-light: #7f7a52;
$custom-dark: #000000;
JSON
{
  "hex": "#4a470f",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 56.949,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38925,
    "c": 0.07407,
    "h": 106.3
  },
  "luminance": 0.05997
}

Semantic roles & 50–950 ramp

primary
#4A470F
secondary
#303584
accent
#47E93F
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4A470F

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

Preview Lab → · Contrast checker → · Palette generator →

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