#D5D354#D5D354

#D5D354 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.5% C 0.147 H 108.3°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#D5D354
RGBrgb(213, 211, 84)
HSLhsl(59, 61%, 58%)
HSVhsv(59, 61%, 84%)
CMYKcmyk(0%, 0.9%, 60.6%, 16.5%)
CIE-LABlab(82.58, -15.10, 61.28)
CIE-LCHlch(82.58, 63.11, 103.84°)
OKLaboklab(84.46% -0.0463 0.14)
OKLCHoklch(84.46% 0.147 108.3)
XYZxyz(52.3367, 61.3763, 17.4757)
Luminance0.6138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D354 #5456D5
analogous
#D59254 #D5D354 #96D554
triadic
#D5D354 #54D5D3 #D354D5
tetradic
#D5D354 #54D592 #5456D5 #D55496
square
#D5D354 #54D592 #5456D5 #D55496
split-complementary
#D5D354 #5496D5 #9254D5
monochromatic
#8C8B22 #BDBB2E #D5D354 #E1E085 #EDECB6

Accessibility & contrast

On white

1.58
#D5D354 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#D5D354 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D354
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D354#FFFFFF#000000##000000
##D5D3541.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB45
Deuteranopia (green-blind)
#E5D05C
Tritanopia (blue-blind)
#E3C6B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d5d354;
/* rgb */ color: rgb(213, 211, 84);
/* oklch */ color: oklch(84.5% 0.147 108.3);
Tailwind
colors: {
  custom: {
    50: '#e5e089',
    500: '#d5d354',
    950: '#000000',
  },
}
SCSS
$custom: #d5d354;
$custom-light: #e5e089;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d354",
  "rgb": {
    "r": 213,
    "g": 211,
    "b": 84
  },
  "hsl": {
    "h": 59.07,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84462,
    "c": 0.14743,
    "h": 108.3
  },
  "luminance": 0.61375
}

Semantic roles & 50–950 ramp

primary
#D5D354
secondary
#3B3C92
accent
#47E444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D354

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

Preview Lab → · Contrast checker → · Palette generator →

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