#474A12#474A12

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

Color values

HEX#474A12
RGBrgb(71, 74, 18)
HSLhsl(63, 61%, 18%)
HSVhsv(63, 76%, 29%)
CMYKcmyk(4.1%, 0%, 75.7%, 71%)
CIE-LABlab(30.11, -9.47, 31.42)
CIE-LCHlch(30.11, 32.81, 106.77°)
OKLaboklab(39.42% -0.029 0.0703)
OKLCHoklch(39.42% 0.076 112.4)
XYZxyz(5.1566, 6.2809, 1.5129)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474A12 #15124A
analogous
#4A3112 #474A12 #2B4A12
triadic
#474A12 #12474A #4A1247
tetradic
#474A12 #124A31 #15124A #4A122B
square
#474A12 #124A31 #15124A #4A122B
split-complementary
#474A12 #122B4A #31124A
monochromatic
#181906 #181906 #474A12 #767B1E #A5AC2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##474A12#FFFFFF#000000##FFFFFF
##474A121.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)
#504609
Deuteranopia (green-blind)
#504816
Tritanopia (blue-blind)
#4C453F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #474a12;
/* rgb */ color: rgb(71, 74, 18);
/* oklch */ color: oklch(39.4% 0.076 112.4);
Tailwind
colors: {
  custom: {
    50: '#7c7c54',
    500: '#474a12',
    950: '#000000',
  },
}
SCSS
$custom: #474a12;
$custom-light: #7c7c54;
$custom-dark: #000000;
JSON
{
  "hex": "#474a12",
  "rgb": {
    "r": 71,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 63.214,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.39425,
    "c": 0.07604,
    "h": 112.4
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#474A12
secondary
#393583
accent
#44E44C
background
#F7F7F4
surface
#EEEEE8
border
#C9C9C4
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #474A12

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

Preview Lab → · Contrast checker → · Palette generator →

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