#D5D757#D5D757

#D5D757 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.3% C 0.149 H 110.0°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#D5D757
RGBrgb(213, 215, 87)
HSLhsl(61, 62%, 59%)
HSVhsv(61, 60%, 84%)
CMYKcmyk(0.9%, 0%, 59.5%, 15.7%)
CIE-LABlab(83.67, -16.88, 61.19)
CIE-LCHlch(83.67, 63.47, 105.42°)
OKLaboklab(85.34% -0.0511 0.1402)
OKLCHoklch(85.34% 0.149 110)
XYZxyz(53.4628, 63.4365, 18.4432)
Luminance0.6343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D757 #5957D7
analogous
#D79957 #D5D757 #95D757
triadic
#D5D757 #57D5D7 #D757D5
tetradic
#D5D757 #57D799 #5957D7 #D75795
square
#D5D757 #57D799 #5957D7 #D75795
split-complementary
#D5D757 #5795D7 #9957D7
monochromatic
#8F9123 #C0C22E #D5D757 #E1E388 #EEEFBA

Accessibility & contrast

On white

1.53
#D5D757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#D5D757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D757
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D757#FFFFFF#000000##000000
##D5D7571.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE48
Deuteranopia (green-blind)
#E8D25F
Tritanopia (blue-blind)
#E3CBBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d5d757;
/* rgb */ color: rgb(213, 215, 87);
/* oklch */ color: oklch(85.3% 0.149 110.0);
Tailwind
colors: {
  custom: {
    50: '#e5e38b',
    500: '#d5d757',
    950: '#000000',
  },
}
SCSS
$custom: #d5d757;
$custom-light: #e5e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d757",
  "rgb": {
    "r": 213,
    "g": 215,
    "b": 87
  },
  "hsl": {
    "h": 60.938,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85341,
    "c": 0.14918,
    "h": 110
  },
  "luminance": 0.63435
}

Semantic roles & 50–950 ramp

primary
#D5D757
secondary
#3D3C96
accent
#43E546
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D757

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

Preview Lab → · Contrast checker → · Palette generator →

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