#474E11#474E11

#474E11 is a dark, moderate yellow. Relative luminance 0.068; OKLCH L 40.5% C 0.082 H 115.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#474E11
RGBrgb(71, 78, 17)
HSLhsl(67, 64%, 19%)
HSVhsv(67, 78%, 31%)
CMYKcmyk(9%, 0%, 78.2%, 69.4%)
CIE-LABlab(31.41, -11.87, 33.15)
CIE-LCHlch(31.41, 35.21, 109.70°)
OKLaboklab(40.47% -0.0358 0.0737)
OKLCHoklch(40.47% 0.082 115.9)
XYZxyz(5.4242, 6.8289, 1.5626)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474E11 #18114E
analogous
#4E3611 #474E11 #284E11
triadic
#474E11 #11474E #4E1147
tetradic
#474E11 #114E36 #18114E #4E1128
square
#474E11 #114E36 #18114E #4E1128
split-complementary
#474E11 #11284E #36114E
monochromatic
#171905 #191C06 #474E11 #75801C #A2B227

Accessibility & contrast

On white

8.88
#474E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#474E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474E11
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474E11#FFFFFF#000000##FFFFFF
##474E111.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A07
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#4C4942
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #474e11;
/* rgb */ color: rgb(71, 78, 17);
/* oklch */ color: oklch(40.5% 0.082 115.9);
Tailwind
colors: {
  custom: {
    50: '#7c7f54',
    500: '#474e11',
    950: '#000000',
  },
}
SCSS
$custom: #474e11;
$custom-light: #7c7f54;
$custom-dark: #000000;
JSON
{
  "hex": "#474e11",
  "rgb": {
    "r": 71,
    "g": 78,
    "b": 17
  },
  "hsl": {
    "h": 66.885,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.40467,
    "c": 0.08197,
    "h": 115.9
  },
  "luminance": 0.06829
}

Semantic roles & 50–950 ramp

primary
#474E11
secondary
#3D3387
accent
#41E754
background
#F7F7F5
surface
#EEEEE8
border
#C9C9C4
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #474E11

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

Preview Lab → · Contrast checker → · Palette generator →

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