#474A0F#474A0F

#474A0F 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.32:1 contrast (WCAG AA passes).

Color values

HEX#474A0F
RGBrgb(71, 74, 15)
HSLhsl(63, 66%, 17%)
HSVhsv(63, 80%, 29%)
CMYKcmyk(4.1%, 0%, 79.7%, 71%)
CIE-LABlab(30.09, -9.65, 32.70)
CIE-LCHlch(30.09, 34.09, 106.45°)
OKLaboklab(39.4% -0.0298 0.0724)
OKLCHoklch(39.4% 0.078 112.4)
XYZxyz(5.1337, 6.2718, 1.3920)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474A0F #120F4A
analogous
#4A300F #474A0F #294A0F
triadic
#474A0F #0F474A #4A0F47
tetradic
#474A0F #0F4A30 #120F4A #4A0F29
square
#474A0F #0F4A30 #120F4A #4A0F29
split-complementary
#474A0F #0F294A #300F4A
monochromatic
#181905 #181905 #474A0F #787D19 #A9B024

Accessibility & contrast

On white

9.32
#474A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#474A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474A0F
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474A0F#FFFFFF#000000##FFFFFF
##474A0F1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #474a0f;
/* rgb */ color: rgb(71, 74, 15);
/* oklch */ color: oklch(39.4% 0.078 112.4);
Tailwind
colors: {
  custom: {
    50: '#7c7c52',
    500: '#474a0f',
    950: '#000000',
  },
}
SCSS
$custom: #474a0f;
$custom-light: #7c7c52;
$custom-dark: #000000;
JSON
{
  "hex": "#474a0f",
  "rgb": {
    "r": 71,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 63.051,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.394,
    "c": 0.07831,
    "h": 112.4
  },
  "luminance": 0.06272
}

Semantic roles & 50–950 ramp

primary
#474A0F
secondary
#353084
accent
#3FE947
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #474A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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