#474A14#474A14

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

Color values

HEX#474A14
RGBrgb(71, 74, 20)
HSLhsl(63, 57%, 18%)
HSVhsv(63, 73%, 29%)
CMYKcmyk(4.1%, 0%, 73%, 71%)
CIE-LABlab(30.13, -9.33, 30.51)
CIE-LCHlch(30.13, 31.91, 107.01°)
OKLaboklab(39.44% -0.0284 0.0688)
OKLCHoklch(39.44% 0.074 112.4)
XYZxyz(5.1737, 6.2878, 1.6028)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474A14 #17144A
analogous
#4A3214 #474A14 #2C4A14
triadic
#474A14 #14474A #4A1447
tetradic
#474A14 #144A32 #17144A #4A142C
square
#474A14 #144A32 #17144A #4A142C
split-complementary
#474A14 #142C4A #32144A
monochromatic
#171807 #191A07 #474A14 #757A21 #A3AA2E

Accessibility & contrast

On white

9.30
#474A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474A14
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474A14#FFFFFF#000000##FFFFFF
##474A141.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460C
Deuteranopia (green-blind)
#504818
Tritanopia (blue-blind)
#4C453F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #474a14;
/* rgb */ color: rgb(71, 74, 20);
/* oklch */ color: oklch(39.4% 0.074 112.4);
Tailwind
colors: {
  custom: {
    50: '#7c7c55',
    500: '#474a14',
    950: '#000000',
  },
}
SCSS
$custom: #474a14;
$custom-light: #7c7c55;
$custom-dark: #000000;
JSON
{
  "hex": "#474a14",
  "rgb": {
    "r": 71,
    "g": 74,
    "b": 20
  },
  "hsl": {
    "h": 63.333,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.39444,
    "c": 0.07439,
    "h": 112.4
  },
  "luminance": 0.06288
}

Semantic roles & 50–950 ramp

primary
#474A14
secondary
#3C3882
accent
#47E150
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #474A14

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

Preview Lab → · Contrast checker → · Palette generator →

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