#D5D952#D5D952

#D5D952 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.7% C 0.155 H 110.9°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#D5D952
RGBrgb(213, 217, 82)
HSLhsl(62, 64%, 59%)
HSVhsv(62, 62%, 85%)
CMYKcmyk(1.8%, 0%, 62.2%, 14.9%)
CIE-LABlab(84.16, -18.20, 63.80)
CIE-LCHlch(84.16, 66.35, 105.92°)
OKLaboklab(85.72% -0.0553 0.145)
OKLCHoklch(85.72% 0.155 110.9)
XYZxyz(53.7780, 64.3824, 17.5752)
Luminance0.6438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D952 #5652D9
analogous
#D99952 #D5D952 #91D952
triadic
#D5D952 #52D5D9 #D952D5
tetradic
#D5D952 #52D999 #5652D9 #D95291
square
#D5D952 #52D999 #5652D9 #D95291
split-complementary
#D5D952 #5291D9 #9952D9
monochromatic
#8D9120 #BEC32B #D5D952 #E1E484 #EDEFB6

Accessibility & contrast

On white

1.51
#D5D952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.88
#D5D952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D952
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D952#FFFFFF#000000##000000
##D5D9521.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D041
Deuteranopia (green-blind)
#EAD45B
Tritanopia (blue-blind)
#E3CCBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d5d952;
/* rgb */ color: rgb(213, 217, 82);
/* oklch */ color: oklch(85.7% 0.155 110.9);
Tailwind
colors: {
  custom: {
    50: '#e5e489',
    500: '#d5d952',
    950: '#000000',
  },
}
SCSS
$custom: #d5d952;
$custom-light: #e5e489;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d952",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 82
  },
  "hsl": {
    "h": 61.778,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.85721,
    "c": 0.1552,
    "h": 110.9
  },
  "luminance": 0.64381
}

Semantic roles & 50–950 ramp

primary
#D5D952
secondary
#3C3996
accent
#41E746
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D952

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

Preview Lab → · Contrast checker → · Palette generator →

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