#474D22#474D22

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

Color values

HEX#474D22
RGBrgb(71, 77, 34)
HSLhsl(68, 39%, 22%)
HSVhsv(68, 56%, 30%)
CMYKcmyk(7.8%, 0%, 55.8%, 69.8%)
CIE-LABlab(31.26, -9.83, 24.44)
CIE-LCHlch(31.26, 26.34, 111.92°)
OKLaboklab(40.4% -0.0281 0.0578)
OKLCHoklch(40.4% 0.064 115.9)
XYZxyz(5.5412, 6.7629, 2.5265)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474D22 #28224D
analogous
#4D3E22 #474D22 #324D22
triadic
#474D22 #22474D #4D2247
tetradic
#474D22 #224D3E #28224D #4D2232
square
#474D22 #224D3E #28224D #4D2232
split-complementary
#474D22 #22324D #3E224D
monochromatic
#141509 #20230F #474D22 #6E7735 #95A247

Accessibility & contrast

On white

8.93
#474D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#474D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474D22
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474D22#FFFFFF#000000##FFFFFF
##474D221.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491E
Deuteranopia (green-blind)
#524A24
Tritanopia (blue-blind)
#4B4943
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #474d22;
/* rgb */ color: rgb(71, 77, 34);
/* oklch */ color: oklch(40.4% 0.064 115.9);
Tailwind
colors: {
  custom: {
    50: '#7b7e5e',
    500: '#474d22',
    950: '#000000',
  },
}
SCSS
$custom: #474d22;
$custom-light: #7b7e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#474d22",
  "rgb": {
    "r": 71,
    "g": 77,
    "b": 34
  },
  "hsl": {
    "h": 68.372,
    "s": 38.739,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40401,
    "c": 0.06427,
    "h": 115.9
  },
  "luminance": 0.06763
}

Semantic roles & 50–950 ramp

primary
#474D22
secondary
#524A81
accent
#59CF6A
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#090A04
muted
#7B7C79

Preview Lab

Preview with #474D22

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

Preview Lab → · Contrast checker → · Palette generator →

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