#474A10#474A10

#474A10 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.4% C 0.078 H 112.4°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#474A10
RGBrgb(71, 74, 16)
HSLhsl(63, 64%, 18%)
HSVhsv(63, 78%, 29%)
CMYKcmyk(4.1%, 0%, 78.4%, 71%)
CIE-LABlab(30.10, -9.59, 32.28)
CIE-LCHlch(30.10, 33.68, 106.55°)
OKLaboklab(39.41% -0.0296 0.0717)
OKLCHoklch(39.41% 0.078 112.4)
XYZxyz(5.1410, 6.2747, 1.4304)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474A10 #13104A
analogous
#4A3010 #474A10 #2A4A10
triadic
#474A10 #10474A #4A1047
tetradic
#474A10 #104A30 #13104A #4A102A
square
#474A10 #104A30 #13104A #4A102A
split-complementary
#474A10 #102A4A #30104A
monochromatic
#181905 #181905 #474A10 #777C1B #A8AF26

Accessibility & contrast

On white

9.31
#474A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#474A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474A10
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474A10#FFFFFF#000000##FFFFFF
##474A101.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504606
Deuteranopia (green-blind)
#504814
Tritanopia (blue-blind)
#4C453F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #474a10;
/* rgb */ color: rgb(71, 74, 16);
/* oklch */ color: oklch(39.4% 0.078 112.4);
Tailwind
colors: {
  custom: {
    50: '#7c7c53',
    500: '#474a10',
    950: '#000000',
  },
}
SCSS
$custom: #474a10;
$custom-light: #7c7c53;
$custom-dark: #000000;
JSON
{
  "hex": "#474a10",
  "rgb": {
    "r": 71,
    "g": 74,
    "b": 16
  },
  "hsl": {
    "h": 63.103,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.39408,
    "c": 0.07757,
    "h": 112.4
  },
  "luminance": 0.06275
}

Semantic roles & 50–950 ramp

primary
#474A10
secondary
#363284
accent
#40E749
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #474A10

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

Preview Lab → · Contrast checker → · Palette generator →

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