#474E19#474E19

#474E19 is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.5% C 0.075 H 116.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#474E19
RGBrgb(71, 78, 25)
HSLhsl(68, 51%, 20%)
HSVhsv(68, 68%, 31%)
CMYKcmyk(9%, 0%, 67.9%, 69.4%)
CIE-LABlab(31.48, -11.29, 29.51)
CIE-LCHlch(31.48, 31.59, 110.94°)
OKLaboklab(40.54% -0.0333 0.0675)
OKLCHoklch(40.54% 0.075 116.2)
XYZxyz(5.4985, 6.8586, 1.9537)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474E19 #20194E
analogous
#4E3B19 #474E19 #2C4E19
triadic
#474E19 #19474E #4E1947
tetradic
#474E19 #194E3B #20194E #4E192C
square
#474E19 #194E3B #20194E #4E192C
split-complementary
#474E19 #192C4E #3B194E
monochromatic
#151707 #1D200A #474E19 #717C28 #9BAB37

Accessibility & contrast

On white

8.85
#474E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474E19
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474E19#FFFFFF#000000##FFFFFF
##474E191.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A13
Deuteranopia (green-blind)
#534A1C
Tritanopia (blue-blind)
#4C4943
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #474e19;
/* rgb */ color: rgb(71, 78, 25);
/* oklch */ color: oklch(40.5% 0.075 116.2);
Tailwind
colors: {
  custom: {
    50: '#7c7f58',
    500: '#474e19',
    950: '#000000',
  },
}
SCSS
$custom: #474e19;
$custom-light: #7c7f58;
$custom-dark: #000000;
JSON
{
  "hex": "#474e19",
  "rgb": {
    "r": 71,
    "g": 78,
    "b": 25
  },
  "hsl": {
    "h": 67.925,
    "s": 51.456,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40544,
    "c": 0.07525,
    "h": 116.2
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#474E19
secondary
#483E84
accent
#4DDB60
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #474E19

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

Preview Lab → · Contrast checker → · Palette generator →

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