#D5D955#D5D955

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

Color values

HEX#D5D955
RGBrgb(213, 217, 85)
HSLhsl(62, 63%, 59%)
HSVhsv(62, 61%, 85%)
CMYKcmyk(1.8%, 0%, 60.8%, 14.9%)
CIE-LABlab(84.19, -18.00, 62.59)
CIE-LCHlch(84.19, 65.13, 106.05°)
OKLaboklab(85.75% -0.0544 0.1429)
OKLCHoklch(85.75% 0.153 110.9)
XYZxyz(53.8946, 64.4290, 18.1896)
Luminance0.6443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D955 #5955D9
analogous
#D99B55 #D5D955 #93D955
triadic
#D5D955 #55D5D9 #D955D5
tetradic
#D5D955 #55D99B #5955D9 #D95593
square
#D5D955 #55D99B #5955D9 #D95593
split-complementary
#D5D955 #5593D9 #9B55D9
monochromatic
#8F9321 #C0C52C #D5D955 #E1E487 #EEEFB9

Accessibility & contrast

On white

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

On black

13.89
#D5D955 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D955
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D955#FFFFFF#000000##000000
##D5D9551.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5d955;
/* rgb */ color: rgb(213, 217, 85);
/* oklch */ color: oklch(85.7% 0.153 110.9);
Tailwind
colors: {
  custom: {
    50: '#e5e48a',
    500: '#d5d955',
    950: '#000000',
  },
}
SCSS
$custom: #d5d955;
$custom-light: #e5e48a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d955",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 85
  },
  "hsl": {
    "h": 61.818,
    "s": 63.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85748,
    "c": 0.15288,
    "h": 110.9
  },
  "luminance": 0.64428
}

Semantic roles & 50–950 ramp

primary
#D5D955
secondary
#3D3A98
accent
#41E646
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D955

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

Preview Lab → · Contrast checker → · Palette generator →

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