#D5D474#D5D474

#D5D474 is a very light, moderate yellow. Relative luminance 0.625; OKLCH L 85.0% C 0.119 H 108.2°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#D5D474
RGBrgb(213, 212, 116)
HSLhsl(59, 54%, 65%)
HSVhsv(59, 46%, 84%)
CMYKcmyk(0%, 0.5%, 45.5%, 16.5%)
CIE-LABlab(83.18, -13.02, 47.34)
CIE-LCHlch(83.18, 49.10, 105.37°)
OKLaboklab(85.04% -0.0371 0.1132)
OKLCHoklch(85.04% 0.119 108.2)
XYZxyz(54.1375, 62.4953, 25.7306)
Luminance0.6249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D474 #7475D5
analogous
#D5A374 #D5D474 #A6D574
triadic
#D5D474 #74D5D4 #D474D5
tetradic
#D5D474 #74D5A3 #7475D5 #D574A6
square
#D5D474 #74D5A3 #7475D5 #D574A6
split-complementary
#D5D474 #74A6D5 #A374D5
monochromatic
#9F9E30 #C7C545 #D5D474 #E3E3A3 #F1F1D2

Accessibility & contrast

On white

1.56
#D5D474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#D5D474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D474
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D474#FFFFFF#000000##000000
##D5D4741.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD6C
Deuteranopia (green-blind)
#E3D179
Tritanopia (blue-blind)
#E1C9BD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d5d474;
/* rgb */ color: rgb(213, 212, 116);
/* oklch */ color: oklch(85.0% 0.119 108.2);
Tailwind
colors: {
  custom: {
    50: '#e4e19e',
    500: '#d5d474',
    950: '#000000',
  },
}
SCSS
$custom: #d5d474;
$custom-light: #e4e19e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d474",
  "rgb": {
    "r": 213,
    "g": 212,
    "b": 116
  },
  "hsl": {
    "h": 59.381,
    "s": 53.591,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85043,
    "c": 0.11912,
    "h": 108.2
  },
  "luminance": 0.62494
}

Semantic roles & 50–950 ramp

primary
#D5D474
secondary
#4A4BA3
accent
#26C124
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D5D474

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

Preview Lab → · Contrast checker → · Palette generator →

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