#D5D255#D5D255

#D5D255 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.3% C 0.146 H 107.9°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#D5D255
RGBrgb(213, 210, 85)
HSLhsl(59, 60%, 58%)
HSVhsv(59, 60%, 84%)
CMYKcmyk(0%, 1.4%, 60.1%, 16.5%)
CIE-LABlab(82.32, -14.53, 60.57)
CIE-LCHlch(82.32, 62.29, 103.49°)
OKLaboklab(84.26% -0.0446 0.1386)
OKLCHoklch(84.26% 0.146 107.9)
XYZxyz(52.1285, 60.8967, 17.6009)
Luminance0.6089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D255 #5558D5
analogous
#D59255 #D5D255 #98D555
triadic
#D5D255 #55D5D2 #D255D5
tetradic
#D5D255 #55D592 #5558D5 #D55598
square
#D5D255 #55D592 #5558D5 #D55598
split-complementary
#D5D255 #5598D5 #9255D5
monochromatic
#8D8A23 #BEBB2F #D5D255 #E1DF86 #EDECB7

Accessibility & contrast

On white

1.59
#D5D255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#D5D255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D255
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D255#FFFFFF#000000##000000
##D5D2551.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA46
Deuteranopia (green-blind)
#E4CF5C
Tritanopia (blue-blind)
#E3C5B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d5d255;
/* rgb */ color: rgb(213, 210, 85);
/* oklch */ color: oklch(84.3% 0.146 107.9);
Tailwind
colors: {
  custom: {
    50: '#e5df8a',
    500: '#d5d255',
    950: '#000000',
  },
}
SCSS
$custom: #d5d255;
$custom-light: #e5df8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d255",
  "rgb": {
    "r": 213,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 58.594,
    "s": 60.377,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8426,
    "c": 0.1456,
    "h": 107.9
  },
  "luminance": 0.60895
}

Semantic roles & 50–950 ramp

primary
#D5D255
secondary
#3C3E93
accent
#48E444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D255

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

Preview Lab → · Contrast checker → · Palette generator →

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