#474D0F#474D0F

#474D0F is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.2% C 0.082 H 115.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#474D0F
RGBrgb(71, 77, 15)
HSLhsl(66, 67%, 18%)
HSVhsv(66, 81%, 30%)
CMYKcmyk(7.8%, 0%, 80.5%, 69.8%)
CIE-LABlab(31.07, -11.41, 33.64)
CIE-LCHlch(31.07, 35.52, 108.73°)
OKLaboklab(40.19% -0.0347 0.0744)
OKLCHoklch(40.19% 0.082 115)
XYZxyz(5.3388, 6.6819, 1.4603)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474D0F #150F4D
analogous
#4D340F #474D0F #284D0F
triadic
#474D0F #0F474D #4D0F47
tetradic
#474D0F #0F4D34 #150F4D #4D0F28
square
#474D0F #0F4D34 #150F4D #4D0F28
split-complementary
#474D0F #0F284D #340F4D
monochromatic
#181A05 #181A05 #474D0F #768019 #A5B323

Accessibility & contrast

On white

8.99
#474D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474D0F
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474D0F#FFFFFF#000000##FFFFFF
##474D0F1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534904
Deuteranopia (green-blind)
#534A14
Tritanopia (blue-blind)
#4C4841
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #474d0f;
/* rgb */ color: rgb(71, 77, 15);
/* oklch */ color: oklch(40.2% 0.082 115.0);
Tailwind
colors: {
  custom: {
    50: '#7d7e53',
    500: '#474d0f',
    950: '#000000',
  },
}
SCSS
$custom: #474d0f;
$custom-light: #7d7e53;
$custom-dark: #000000;
JSON
{
  "hex": "#474d0f",
  "rgb": {
    "r": 71,
    "g": 77,
    "b": 15
  },
  "hsl": {
    "h": 65.806,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.40188,
    "c": 0.08208,
    "h": 115
  },
  "luminance": 0.06682
}

Semantic roles & 50–950 ramp

primary
#474D0F
secondary
#393187
accent
#3EEA4E
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #474D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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