#474D19#474D19

#474D19 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.3% C 0.074 H 115.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#474D19
RGBrgb(71, 77, 25)
HSLhsl(67, 51%, 20%)
HSVhsv(67, 68%, 30%)
CMYKcmyk(7.8%, 0%, 67.5%, 69.8%)
CIE-LABlab(31.16, -10.71, 29.15)
CIE-LCHlch(31.16, 31.06, 110.17°)
OKLaboklab(40.28% -0.0316 0.0668)
OKLCHoklch(40.28% 0.074 115.3)
XYZxyz(5.4280, 6.7176, 1.9302)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474D19 #1F194D
analogous
#4D3919 #474D19 #2D4D19
triadic
#474D19 #19474D #4D1947
tetradic
#474D19 #194D39 #1F194D #4D192D
square
#474D19 #194D39 #1F194D #4D192D
split-complementary
#474D19 #192D4D #39194D
monochromatic
#151708 #1C1F0A #474D19 #727B28 #9CA937

Accessibility & contrast

On white

8.96
#474D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474D19
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474D19#FFFFFF#000000##FFFFFF
##474D191.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534913
Deuteranopia (green-blind)
#524A1C
Tritanopia (blue-blind)
#4C4842
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #474d19;
/* rgb */ color: rgb(71, 77, 25);
/* oklch */ color: oklch(40.3% 0.074 115.3);
Tailwind
colors: {
  custom: {
    50: '#7c7e58',
    500: '#474d19',
    950: '#000000',
  },
}
SCSS
$custom: #474d19;
$custom-light: #7c7e58;
$custom-dark: #000000;
JSON
{
  "hex": "#474d19",
  "rgb": {
    "r": 71,
    "g": 77,
    "b": 25
  },
  "hsl": {
    "h": 66.923,
    "s": 50.98,
    "l": 20
  },
  "oklch": {
    "l": 0.40282,
    "c": 0.07386,
    "h": 115.3
  },
  "luminance": 0.06718
}

Semantic roles & 50–950 ramp

primary
#474D19
secondary
#463E83
accent
#4DDA5E
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #474D19

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

Preview Lab → · Contrast checker → · Palette generator →

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