#474E0A#474E0A

#474E0A is a dark, moderate yellow. Relative luminance 0.068; OKLCH L 40.4% C 0.086 H 115.7°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#474E0A
RGBrgb(71, 78, 10)
HSLhsl(66, 77%, 17%)
HSVhsv(66, 87%, 31%)
CMYKcmyk(9%, 0%, 87.2%, 69.4%)
CIE-LABlab(31.37, -12.23, 35.75)
CIE-LCHlch(31.37, 37.79, 108.89°)
OKLaboklab(40.42% -0.0375 0.0778)
OKLCHoklch(40.42% 0.086 115.7)
XYZxyz(5.3779, 6.8104, 1.3183)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474E0A #110A4E
analogous
#4E330A #474E0A #254E0A
triadic
#474E0A #0A474E #4E0A47
tetradic
#474E0A #0A4E33 #110A4E #4E0A25
square
#474E0A #0A4E33 #110A4E #4E0A25
split-complementary
#474E0A #0A254E #330A4E
monochromatic
#191B03 #191B03 #474E0A #788411 #AABA18

Accessibility & contrast

On white

8.89
#474E0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#474E0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474E0A
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474E0A#FFFFFF#000000##FFFFFF
##474E0A1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544900
Deuteranopia (green-blind)
#544A11
Tritanopia (blue-blind)
#4C4942
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #474e0a;
/* rgb */ color: rgb(71, 78, 10);
/* oklch */ color: oklch(40.4% 0.086 115.7);
Tailwind
colors: {
  custom: {
    50: '#7d7f51',
    500: '#474e0a',
    950: '#000000',
  },
}
SCSS
$custom: #474e0a;
$custom-light: #7d7f51;
$custom-dark: #000000;
JSON
{
  "hex": "#474e0a",
  "rgb": {
    "r": 71,
    "g": 78,
    "b": 10
  },
  "hsl": {
    "h": 66.176,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.40419,
    "c": 0.08639,
    "h": 115.7
  },
  "luminance": 0.0681
}

Semantic roles & 50–950 ramp

primary
#474E0A
secondary
#33298B
accent
#34F448
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #474E0A

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

Preview Lab → · Contrast checker → · Palette generator →

#474E0A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva