#D7D474#D7D474

#D7D474 is a very light, moderate yellow. Relative luminance 0.628; OKLCH L 85.2% C 0.119 H 107.1°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#D7D474
RGBrgb(215, 212, 116)
HSLhsl(58, 55%, 65%)
HSVhsv(58, 46%, 84%)
CMYKcmyk(0%, 1.4%, 46%, 15.7%)
CIE-LABlab(83.34, -12.22, 47.57)
CIE-LCHlch(83.34, 49.12, 104.40°)
OKLaboklab(85.21% -0.0349 0.1137)
OKLCHoklch(85.21% 0.119 107.1)
XYZxyz(54.7214, 62.7964, 25.7579)
Luminance0.6280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D474 #7477D7
analogous
#D7A374 #D7D474 #A8D774
triadic
#D7D474 #74D7D4 #D474D7
tetradic
#D7D474 #74D7A3 #7477D7 #D774A8
square
#D7D474 #74D7A3 #7477D7 #D774A8
split-complementary
#D7D474 #74A8D7 #A374D7
monochromatic
#A29E2F #C9C544 #D7D474 #E5E3A4 #F2F1D3

Accessibility & contrast

On white

1.55
#D7D474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#D7D474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D474
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D474#FFFFFF#000000##000000
##D7D4741.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD6C
Deuteranopia (green-blind)
#E4D278
Tritanopia (blue-blind)
#E3C9BD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d7d474;
/* rgb */ color: rgb(215, 212, 116);
/* oklch */ color: oklch(85.2% 0.119 107.1);
Tailwind
colors: {
  custom: {
    50: '#e5e19e',
    500: '#d7d474',
    950: '#000000',
  },
}
SCSS
$custom: #d7d474;
$custom-light: #e5e19e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d474",
  "rgb": {
    "r": 215,
    "g": 212,
    "b": 116
  },
  "hsl": {
    "h": 58.182,
    "s": 55.307,
    "l": 64.902
  },
  "oklch": {
    "l": 0.85208,
    "c": 0.11892,
    "h": 107.1
  },
  "luminance": 0.62795
}

Semantic roles & 50–950 ramp

primary
#D7D474
secondary
#494CA6
accent
#28C323
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7D474

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

Preview Lab → · Contrast checker → · Palette generator →

#D7D474 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva