#D5D54D#D5D54D

#D5D54D is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.8% C 0.155 H 109.3°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#D5D54D
RGBrgb(213, 213, 77)
HSLhsl(60, 62%, 57%)
HSVhsv(60, 64%, 84%)
CMYKcmyk(0%, 0%, 63.8%, 16.5%)
CIE-LABlab(83.06, -16.53, 64.66)
CIE-LCHlch(83.06, 66.74, 104.34°)
OKLaboklab(84.82% -0.0511 0.1461)
OKLCHoklch(84.82% 0.155 109.3)
XYZxyz(52.5761, 62.2719, 16.2699)
Luminance0.6227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D54D #4D4DD5
analogous
#D5914D #D5D54D #91D54D
triadic
#D5D54D #4DD5D5 #D54DD5
tetradic
#D5D54D #4DD591 #4D4DD5 #D54D91
square
#D5D54D #4DD591 #4D4DD5 #D54D91
split-complementary
#D5D54D #4D91D5 #914DD5
monochromatic
#888820 #B9B92C #D5D54D #E1E17F #ECECB0

Accessibility & contrast

On white

1.56
#D5D54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#D5D54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D54D
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D54D#FFFFFF#000000##000000
##D5D54D1.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC3B
Deuteranopia (green-blind)
#E7D156
Tritanopia (blue-blind)
#E3C8B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d5d54d;
/* rgb */ color: rgb(213, 213, 77);
/* oklch */ color: oklch(84.8% 0.155 109.3);
Tailwind
colors: {
  custom: {
    50: '#e5e185',
    500: '#d5d54d',
    950: '#000000',
  },
}
SCSS
$custom: #d5d54d;
$custom-light: #e5e185;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d54d",
  "rgb": {
    "r": 213,
    "g": 213,
    "b": 77
  },
  "hsl": {
    "h": 60,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.84825,
    "c": 0.15478,
    "h": 109.3
  },
  "luminance": 0.6227
}

Semantic roles & 50–950 ramp

primary
#D5D54D
secondary
#38388E
accent
#43E543
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D5D54D

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

Preview Lab → · Contrast checker → · Palette generator →

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