#474E0D#474E0D

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

Color values

HEX#474E0D
RGBrgb(71, 78, 13)
HSLhsl(66, 71%, 18%)
HSVhsv(66, 83%, 31%)
CMYKcmyk(9%, 0%, 83.3%, 69.4%)
CIE-LABlab(31.39, -12.09, 34.71)
CIE-LCHlch(31.39, 36.76, 109.21°)
OKLaboklab(40.44% -0.0368 0.0762)
OKLCHoklch(40.44% 0.085 115.8)
XYZxyz(5.3957, 6.8175, 1.4124)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474E0D #140D4E
analogous
#4E350D #474E0D #264E0D
triadic
#474E0D #0D474E #4E0D47
tetradic
#474E0D #0D4E35 #140D4E #4E0D26
square
#474E0D #0D4E35 #140D4E #4E0D26
split-complementary
#474E0D #0D264E #350D4E
monochromatic
#181A04 #181A04 #474E0D #778216 #A6B71E

Accessibility & contrast

On white

8.89
#474E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#474E0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474E0D
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474E0D#FFFFFF#000000##FFFFFF
##474E0D1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544901
Deuteranopia (green-blind)
#544A13
Tritanopia (blue-blind)
#4C4942
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #474e0d;
/* rgb */ color: rgb(71, 78, 13);
/* oklch */ color: oklch(40.4% 0.085 115.8);
Tailwind
colors: {
  custom: {
    50: '#7d7f52',
    500: '#474e0d',
    950: '#000000',
  },
}
SCSS
$custom: #474e0d;
$custom-light: #7d7f52;
$custom-dark: #000000;
JSON
{
  "hex": "#474e0d",
  "rgb": {
    "r": 71,
    "g": 78,
    "b": 13
  },
  "hsl": {
    "h": 66.462,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.40438,
    "c": 0.08467,
    "h": 115.8
  },
  "luminance": 0.06817
}

Semantic roles & 50–950 ramp

primary
#474E0D
secondary
#382E89
accent
#3AEE4D
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #474E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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