#D5D652#D5D652

#D5D652 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.1% C 0.152 H 109.7°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#D5D652
RGBrgb(213, 214, 82)
HSLhsl(60, 62%, 58%)
HSVhsv(60, 62%, 84%)
CMYKcmyk(0.5%, 0%, 61.7%, 16.1%)
CIE-LABlab(83.36, -16.72, 62.95)
CIE-LCHlch(83.36, 65.13, 104.87°)
OKLaboklab(85.08% -0.0511 0.1432)
OKLCHoklch(85.08% 0.152 109.7)
XYZxyz(53.0117, 62.8499, 17.3197)
Luminance0.6285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D652 #5352D6
analogous
#D69552 #D5D652 #93D652
triadic
#D5D652 #52D5D6 #D652D5
tetradic
#D5D652 #52D695 #5352D6 #D65293
square
#D5D652 #52D695 #5352D6 #D65293
split-complementary
#D5D652 #5293D6 #9552D6
monochromatic
#8C8C21 #BDBE2D #D5D652 #E1E283 #EDEDB5

Accessibility & contrast

On white

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

On black

13.57
#D5D652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D652
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D652#FFFFFF#000000##000000
##D5D6521.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD42
Deuteranopia (green-blind)
#E8D25A
Tritanopia (blue-blind)
#E3C9BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d5d652;
/* rgb */ color: rgb(213, 214, 82);
/* oklch */ color: oklch(85.1% 0.152 109.7);
Tailwind
colors: {
  custom: {
    50: '#e5e288',
    500: '#d5d652',
    950: '#000000',
  },
}
SCSS
$custom: #d5d652;
$custom-light: #e5e288;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d652",
  "rgb": {
    "r": 213,
    "g": 214,
    "b": 82
  },
  "hsl": {
    "h": 60.455,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85081,
    "c": 0.15207,
    "h": 109.7
  },
  "luminance": 0.62848
}

Semantic roles & 50–950 ramp

primary
#D5D652
secondary
#3B3A92
accent
#43E544
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D652

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

Preview Lab → · Contrast checker → · Palette generator →

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