#D5D45D#D5D45D

#D5D45D is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.8% C 0.141 H 108.6°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#D5D45D
RGBrgb(213, 212, 93)
HSLhsl(60, 59%, 60%)
HSVhsv(60, 56%, 84%)
CMYKcmyk(0%, 0.5%, 56.3%, 16.5%)
CIE-LABlab(82.93, -14.96, 57.76)
CIE-LCHlch(82.93, 59.67, 104.52°)
OKLaboklab(84.76% -0.045 0.1336)
OKLCHoklch(84.76% 0.141 108.6)
XYZxyz(52.9613, 62.0248, 19.5359)
Luminance0.6202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D45D #5D5ED5
analogous
#D5985D #D5D45D #9AD55D
triadic
#D5D45D #5DD5D4 #D45DD5
tetradic
#D5D45D #5DD598 #5D5ED5 #D55D9A
square
#D5D45D #5DD598 #5D5ED5 #D55D9A
split-complementary
#D5D45D #5D9AD5 #985DD5
monochromatic
#929126 #C2C132 #D5D45D #E2E18E #EEEEBE

Accessibility & contrast

On white

1.57
#D5D45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#D5D45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D45D
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D45D#FFFFFF#000000##000000
##D5D45D1.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC50
Deuteranopia (green-blind)
#E5D164
Tritanopia (blue-blind)
#E3C8BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d5d45d;
/* rgb */ color: rgb(213, 212, 93);
/* oklch */ color: oklch(84.8% 0.141 108.6);
Tailwind
colors: {
  custom: {
    50: '#e4e18f',
    500: '#d5d45d',
    950: '#000000',
  },
}
SCSS
$custom: #d5d45d;
$custom-light: #e4e18f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d45d",
  "rgb": {
    "r": 213,
    "g": 212,
    "b": 93
  },
  "hsl": {
    "h": 59.5,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.84764,
    "c": 0.141,
    "h": 108.6
  },
  "luminance": 0.62023
}

Semantic roles & 50–950 ramp

primary
#D5D45D
secondary
#3F4097
accent
#47E246
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D45D

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

Preview Lab → · Contrast checker → · Palette generator →

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