#474D11#474D11

#474D11 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.2% C 0.081 H 115.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#474D11
RGBrgb(71, 77, 17)
HSLhsl(66, 64%, 18%)
HSVhsv(66, 78%, 30%)
CMYKcmyk(7.8%, 0%, 77.9%, 69.8%)
CIE-LABlab(31.09, -11.29, 32.82)
CIE-LCHlch(31.09, 34.71, 108.98°)
OKLaboklab(40.2% -0.0342 0.0731)
OKLCHoklch(40.2% 0.081 115.1)
XYZxyz(5.3537, 6.6879, 1.5391)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474D11 #17114D
analogous
#4D3511 #474D11 #294D11
triadic
#474D11 #11474D #4D1147
tetradic
#474D11 #114D35 #17114D #4D1129
square
#474D11 #114D35 #17114D #4D1129
split-complementary
#474D11 #11294D #35114D
monochromatic
#171906 #191B06 #474D11 #757F1C #A3B127

Accessibility & contrast

On white

8.98
#474D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#474D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474D11
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474D11#FFFFFF#000000##FFFFFF
##474D111.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534907
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#4C4841
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #474d11;
/* rgb */ color: rgb(71, 77, 17);
/* oklch */ color: oklch(40.2% 0.081 115.1);
Tailwind
colors: {
  custom: {
    50: '#7c7e54',
    500: '#474d11',
    950: '#000000',
  },
}
SCSS
$custom: #474d11;
$custom-light: #7c7e54;
$custom-dark: #000000;
JSON
{
  "hex": "#474d11",
  "rgb": {
    "r": 71,
    "g": 77,
    "b": 17
  },
  "hsl": {
    "h": 66,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.40204,
    "c": 0.08067,
    "h": 115.1
  },
  "luminance": 0.06688
}

Semantic roles & 50–950 ramp

primary
#474D11
secondary
#3C3386
accent
#41E752
background
#F7F7F4
surface
#EEEEE8
border
#C9C9C4
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #474D11

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

Preview Lab → · Contrast checker → · Palette generator →

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