#D5D657#D5D657

#D5D657 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.1% C 0.148 H 109.6°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#D5D657
RGBrgb(213, 214, 87)
HSLhsl(60, 61%, 59%)
HSVhsv(60, 59%, 84%)
CMYKcmyk(0.5%, 0%, 59.3%, 16.1%)
CIE-LABlab(83.40, -16.39, 60.90)
CIE-LCHlch(83.40, 63.06, 105.06°)
OKLaboklab(85.13% -0.0497 0.1395)
OKLCHoklch(85.13% 0.148 109.6)
XYZxyz(53.2090, 62.9288, 18.3585)
Luminance0.6293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D657 #5857D6
analogous
#D69857 #D5D657 #96D657
triadic
#D5D657 #57D5D6 #D657D5
tetradic
#D5D657 #57D698 #5857D6 #D65796
square
#D5D657 #57D698 #5857D6 #D65796
split-complementary
#D5D657 #5796D6 #9857D6
monochromatic
#8F9023 #C0C12F #D5D657 #E1E288 #EEEEB9

Accessibility & contrast

On white

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

On black

13.59
#D5D657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D657
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D657#FFFFFF#000000##000000
##D5D6571.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE48
Deuteranopia (green-blind)
#E7D25F
Tritanopia (blue-blind)
#E3CABB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d5d657;
/* rgb */ color: rgb(213, 214, 87);
/* oklch */ color: oklch(85.1% 0.148 109.6);
Tailwind
colors: {
  custom: {
    50: '#e5e28b',
    500: '#d5d657',
    950: '#000000',
  },
}
SCSS
$custom: #d5d657;
$custom-light: #e5e28b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d657",
  "rgb": {
    "r": 213,
    "g": 214,
    "b": 87
  },
  "hsl": {
    "h": 60.472,
    "s": 60.766,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85128,
    "c": 0.14812,
    "h": 109.6
  },
  "luminance": 0.62927
}

Semantic roles & 50–950 ramp

primary
#D5D657
secondary
#3D3C95
accent
#44E445
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D657

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

Preview Lab → · Contrast checker → · Palette generator →

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