#D5D254#D5D254

#D5D254 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#D5D254
RGBrgb(213, 210, 84)
HSLhsl(59, 61%, 58%)
HSVhsv(59, 61%, 84%)
CMYKcmyk(0%, 1.4%, 60.6%, 16.5%)
CIE-LABlab(82.31, -14.60, 60.99)
CIE-LCHlch(82.31, 62.71, 103.46°)
OKLaboklab(84.25% -0.0449 0.1393)
OKLCHoklch(84.25% 0.146 107.9)
XYZxyz(52.0891, 60.8810, 17.3931)
Luminance0.6088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D254 #5457D5
analogous
#D59154 #D5D254 #97D554
triadic
#D5D254 #54D5D2 #D254D5
tetradic
#D5D254 #54D591 #5457D5 #D55497
square
#D5D254 #54D591 #5457D5 #D55497
split-complementary
#D5D254 #5497D5 #9154D5
monochromatic
#8C8A22 #BDBA2E #D5D254 #E1DF85 #EDECB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5D254#FFFFFF#000000##000000
##D5D2541.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)
#E2CA45
Deuteranopia (green-blind)
#E4CF5B
Tritanopia (blue-blind)
#E3C5B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d5d254;
/* rgb */ color: rgb(213, 210, 84);
/* oklch */ color: oklch(84.3% 0.146 107.9);
Tailwind
colors: {
  custom: {
    50: '#e5df89',
    500: '#d5d254',
    950: '#000000',
  },
}
SCSS
$custom: #d5d254;
$custom-light: #e5df89;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d254",
  "rgb": {
    "r": 213,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 58.605,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8425,
    "c": 0.14641,
    "h": 107.9
  },
  "luminance": 0.60879
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5D254

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

Preview Lab → · Contrast checker → · Palette generator →

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