#474E0F#474E0F

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

Color values

HEX#474E0F
RGBrgb(71, 78, 15)
HSLhsl(67, 68%, 18%)
HSVhsv(67, 81%, 31%)
CMYKcmyk(9%, 0%, 80.8%, 69.4%)
CIE-LABlab(31.40, -11.99, 33.95)
CIE-LCHlch(31.40, 36.01, 109.44°)
OKLaboklab(40.45% -0.0363 0.0751)
OKLCHoklch(40.45% 0.083 115.8)
XYZxyz(5.4093, 6.8229, 1.4838)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474E0F #160F4E
analogous
#4E350F #474E0F #274E0F
triadic
#474E0F #0F474E #4E0F47
tetradic
#474E0F #0F4E35 #160F4E #4E0F27
square
#474E0F #0F4E35 #160F4E #4E0F27
split-complementary
#474E0F #0F274E #350F4E
monochromatic
#171A05 #181B05 #474E0F #768119 #A4B523

Accessibility & contrast

On white

8.88
#474E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474E0F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474E0F#FFFFFF#000000##FFFFFF
##474E0F1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #474e0f;
/* rgb */ color: rgb(71, 78, 15);
/* oklch */ color: oklch(40.5% 0.083 115.8);
Tailwind
colors: {
  custom: {
    50: '#7d7f53',
    500: '#474e0f',
    950: '#000000',
  },
}
SCSS
$custom: #474e0f;
$custom-light: #7d7f53;
$custom-dark: #000000;
JSON
{
  "hex": "#474e0f",
  "rgb": {
    "r": 71,
    "g": 78,
    "b": 15
  },
  "hsl": {
    "h": 66.667,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.40452,
    "c": 0.08338,
    "h": 115.8
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#474E0F
secondary
#3A3188
accent
#3DEB50
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #474E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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