#D5D156#D5D156

#D5D156 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.1% C 0.144 H 107.4°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#D5D156
RGBrgb(213, 209, 86)
HSLhsl(58, 60%, 59%)
HSVhsv(58, 60%, 84%)
CMYKcmyk(0%, 1.9%, 59.6%, 16.5%)
CIE-LABlab(82.07, -13.96, 59.87)
CIE-LCHlch(82.07, 61.47, 103.13°)
OKLaboklab(84.06% -0.0429 0.1372)
OKLCHoklch(84.06% 0.144 107.4)
XYZxyz(51.9224, 60.4205, 17.7295)
Luminance0.6042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D156 #565AD5
analogous
#D59156 #D5D156 #99D556
triadic
#D5D156 #56D5D1 #D156D5
tetradic
#D5D156 #56D591 #565AD5 #D55699
square
#D5D156 #56D591 #565AD5 #D55699
split-complementary
#D5D156 #5699D5 #9156D5
monochromatic
#8D8A23 #BEBA2F #D5D156 #E1DE87 #EDECB8

Accessibility & contrast

On white

1.61
#D5D156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.08
#D5D156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D156
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D156#FFFFFF#000000##000000
##D5D1561.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C948
Deuteranopia (green-blind)
#E3CE5D
Tritanopia (blue-blind)
#E3C4B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d5d156;
/* rgb */ color: rgb(213, 209, 86);
/* oklch */ color: oklch(84.1% 0.144 107.4);
Tailwind
colors: {
  custom: {
    50: '#e5de8a',
    500: '#d5d156',
    950: '#000000',
  },
}
SCSS
$custom: #d5d156;
$custom-light: #e5de8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d156",
  "rgb": {
    "r": 213,
    "g": 209,
    "b": 86
  },
  "hsl": {
    "h": 58.11,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84058,
    "c": 0.14378,
    "h": 107.4
  },
  "luminance": 0.60419
}

Semantic roles & 50–950 ramp

primary
#D5D156
secondary
#3C3F93
accent
#49E344
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D156

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

Preview Lab → · Contrast checker → · Palette generator →

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