#D5D774#D5D774

#D5D774 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.7% C 0.123 H 109.8°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#D5D774
RGBrgb(213, 215, 116)
HSLhsl(61, 55%, 65%)
HSVhsv(61, 46%, 84%)
CMYKcmyk(0.9%, 0%, 46%, 15.7%)
CIE-LABlab(83.97, -14.52, 48.31)
CIE-LCHlch(83.97, 50.44, 106.73°)
OKLaboklab(85.68% -0.0414 0.1153)
OKLCHoklch(85.68% 0.123 109.8)
XYZxyz(54.8944, 64.0091, 25.9829)
Luminance0.6401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D774 #7674D7
analogous
#D7A774 #D5D774 #A4D774
triadic
#D5D774 #74D5D7 #D774D5
tetradic
#D5D774 #74D7A7 #7674D7 #D774A4
square
#D5D774 #74D7A7 #7674D7 #D774A4
split-complementary
#D5D774 #74A4D7 #A774D7
monochromatic
#A0A22F #C7C944 #D5D774 #E3E5A4 #F2F2D3

Accessibility & contrast

On white

1.52
#D5D774 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#D5D774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D774
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D774#FFFFFF#000000##000000
##D5D7741.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D06B
Deuteranopia (green-blind)
#E6D379
Tritanopia (blue-blind)
#E1CCC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d5d774;
/* rgb */ color: rgb(213, 215, 116);
/* oklch */ color: oklch(85.7% 0.123 109.8);
Tailwind
colors: {
  custom: {
    50: '#e4e39e',
    500: '#d5d774',
    950: '#000000',
  },
}
SCSS
$custom: #d5d774;
$custom-light: #e4e39e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d774",
  "rgb": {
    "r": 213,
    "g": 215,
    "b": 116
  },
  "hsl": {
    "h": 61.212,
    "s": 55.307,
    "l": 64.902
  },
  "oklch": {
    "l": 0.85676,
    "c": 0.12253,
    "h": 109.8
  },
  "luminance": 0.64008
}

Semantic roles & 50–950 ramp

primary
#D5D774
secondary
#4B49A6
accent
#23C326
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D5D774

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

Preview Lab → · Contrast checker → · Palette generator →

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