#4A470E#4A470E

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

Color values

HEX#4A470E
RGBrgb(74, 71, 14)
HSLhsl(57, 68%, 17%)
HSVhsv(57, 81%, 29%)
CMYKcmyk(0%, 4.1%, 81.1%, 71%)
CIE-LABlab(29.40, -6.39, 32.55)
CIE-LCHlch(29.40, 33.17, 101.11°)
OKLaboklab(38.92% -0.021 0.0718)
OKLCHoklch(38.92% 0.075 106.3)
XYZxyz(5.1568, 5.9942, 1.3007)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A470E #0E114A
analogous
#4A290E #4A470E #2F4A0E
triadic
#4A470E #0E4A47 #470E4A
tetradic
#4A470E #0E4A29 #0E114A #4A0E2F
square
#4A470E #0E4A29 #0E114A #4A0E2F
split-complementary
#4A470E #0E2F4A #290E4A
monochromatic
#1A1905 #1A1905 #4A470E #7D7818 #B1AA21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A470E#FFFFFF#000000##FFFFFF
##4A470E1.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)
#4E4404
Deuteranopia (green-blind)
#4F4612
Tritanopia (blue-blind)
#50423C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a470e;
/* rgb */ color: rgb(74, 71, 14);
/* oklch */ color: oklch(38.9% 0.075 106.3);
Tailwind
colors: {
  custom: {
    50: '#7f7a51',
    500: '#4a470e',
    950: '#000000',
  },
}
SCSS
$custom: #4a470e;
$custom-light: #7f7a51;
$custom-dark: #000000;
JSON
{
  "hex": "#4a470e",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 14
  },
  "hsl": {
    "h": 57,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.38917,
    "c": 0.07478,
    "h": 106.3
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

primary
#4A470E
secondary
#2F3385
accent
#45EB3D
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4A470E

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

Preview Lab → · Contrast checker → · Palette generator →

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