#D5D256#D5D256

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

Color values

HEX#D5D256
RGBrgb(213, 210, 86)
HSLhsl(59, 60%, 59%)
HSVhsv(59, 60%, 84%)
CMYKcmyk(0%, 1.4%, 59.6%, 16.5%)
CIE-LABlab(82.33, -14.46, 60.16)
CIE-LCHlch(82.33, 61.87, 103.52°)
OKLaboklab(84.27% -0.0443 0.1378)
OKLCHoklch(84.27% 0.145 107.8)
XYZxyz(52.1685, 60.9127, 17.8116)
Luminance0.6091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D256 #5659D5
analogous
#D59256 #D5D256 #98D556
triadic
#D5D256 #56D5D2 #D256D5
tetradic
#D5D256 #56D592 #5659D5 #D55698
square
#D5D256 #56D592 #5659D5 #D55698
split-complementary
#D5D256 #5698D5 #9256D5
monochromatic
#8D8B23 #BEBB2F #D5D256 #E1DF87 #EDECB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5D256#FFFFFF#000000##000000
##D5D2561.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)
#E2CA48
Deuteranopia (green-blind)
#E4CF5D
Tritanopia (blue-blind)
#E3C5B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d5d256;
/* rgb */ color: rgb(213, 210, 86);
/* oklch */ color: oklch(84.3% 0.145 107.8);
Tailwind
colors: {
  custom: {
    50: '#e5df8b',
    500: '#d5d256',
    950: '#000000',
  },
}
SCSS
$custom: #d5d256;
$custom-light: #e5df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d256",
  "rgb": {
    "r": 213,
    "g": 210,
    "b": 86
  },
  "hsl": {
    "h": 58.583,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84269,
    "c": 0.1448,
    "h": 107.8
  },
  "luminance": 0.60911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5D256

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

Preview Lab → · Contrast checker → · Palette generator →

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