#D5D154#D5D154

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

Color values

HEX#D5D154
RGBrgb(213, 209, 84)
HSLhsl(58, 61%, 58%)
HSVhsv(58, 61%, 84%)
CMYKcmyk(0%, 1.9%, 60.6%, 16.5%)
CIE-LABlab(82.05, -14.10, 60.70)
CIE-LCHlch(82.05, 62.32, 103.08°)
OKLaboklab(84.04% -0.0435 0.1387)
OKLCHoklch(84.04% 0.145 107.4)
XYZxyz(51.8429, 60.3887, 17.3111)
Luminance0.6039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D154 #5458D5
analogous
#D59154 #D5D154 #98D554
triadic
#D5D154 #54D5D1 #D154D5
tetradic
#D5D154 #54D591 #5458D5 #D55498
square
#D5D154 #54D591 #5458D5 #D55498
split-complementary
#D5D154 #5498D5 #9154D5
monochromatic
#8C8922 #BDB92E #D5D154 #E1DE85 #EDEBB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5D154#FFFFFF#000000##000000
##D5D1541.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)
#E1C945
Deuteranopia (green-blind)
#E4CE5B
Tritanopia (blue-blind)
#E3C4B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d5d154;
/* rgb */ color: rgb(213, 209, 84);
/* oklch */ color: oklch(84.0% 0.145 107.4);
Tailwind
colors: {
  custom: {
    50: '#e5de89',
    500: '#d5d154',
    950: '#000000',
  },
}
SCSS
$custom: #d5d154;
$custom-light: #e5de89;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d154",
  "rgb": {
    "r": 213,
    "g": 209,
    "b": 84
  },
  "hsl": {
    "h": 58.14,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84039,
    "c": 0.1454,
    "h": 107.4
  },
  "luminance": 0.60387
}

Semantic roles & 50–950 ramp

primary
#D5D154
secondary
#3B3E92
accent
#49E444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D154

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

Preview Lab → · Contrast checker → · Palette generator →

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