#474912#474912

#474912 is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.2% C 0.075 H 111.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#474912
RGBrgb(71, 73, 18)
HSLhsl(62, 60%, 18%)
HSVhsv(62, 75%, 29%)
CMYKcmyk(2.7%, 0%, 75.3%, 71.4%)
CIE-LABlab(29.78, -8.88, 31.09)
CIE-LCHlch(29.78, 32.33, 105.93°)
OKLaboklab(39.16% -0.0273 0.0696)
OKLCHoklch(39.16% 0.075 111.4)
XYZxyz(5.0904, 6.1485, 1.4908)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474912 #141249
analogous
#492F12 #474912 #2B4912
triadic
#474912 #124749 #491247
tetradic
#474912 #12492F #141249 #49122B
square
#474912 #12492F #141249 #49122B
split-complementary
#474912 #122B49 #2F1249
monochromatic
#181906 #181906 #474912 #777A1E #A6AB2A

Accessibility & contrast

On white

9.42
#474912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#474912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474912
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474912#FFFFFF#000000##FFFFFF
##4749121.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450A
Deuteranopia (green-blind)
#4F4716
Tritanopia (blue-blind)
#4C443E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #474912;
/* rgb */ color: rgb(71, 73, 18);
/* oklch */ color: oklch(39.2% 0.075 111.4);
Tailwind
colors: {
  custom: {
    50: '#7c7b54',
    500: '#474912',
    950: '#000000',
  },
}
SCSS
$custom: #474912;
$custom-light: #7c7b54;
$custom-dark: #000000;
JSON
{
  "hex": "#474912",
  "rgb": {
    "r": 71,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 62.182,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.39164,
    "c": 0.07478,
    "h": 111.4
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#474912
secondary
#383582
accent
#44E44A
background
#F7F7F4
surface
#EEEDE8
border
#C9C8C4
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #474912

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

Preview Lab → · Contrast checker → · Palette generator →

#474912 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva