#D5D450#D5D450

#D5D450 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.6% C 0.152 H 108.8°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#D5D450
RGBrgb(213, 212, 80)
HSLhsl(60, 61%, 57%)
HSVhsv(60, 62%, 84%)
CMYKcmyk(0%, 0.5%, 62.4%, 16.5%)
CIE-LABlab(82.81, -15.85, 63.19)
CIE-LCHlch(82.81, 65.15, 104.08°)
OKLaboklab(84.64% -0.0489 0.1434)
OKLCHoklch(84.64% 0.152 108.8)
XYZxyz(52.4337, 61.8138, 16.7571)
Luminance0.6181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D450 #5051D5
analogous
#D59250 #D5D450 #93D550
triadic
#D5D450 #50D5D4 #D450D5
tetradic
#D5D450 #50D592 #5051D5 #D55093
square
#D5D450 #50D592 #5051D5 #D55093
split-complementary
#D5D450 #5093D5 #9250D5
monochromatic
#8A8921 #BBBA2D #D5D450 #E1E081 #EDECB3

Accessibility & contrast

On white

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

On black

13.36
#D5D450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D450
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D450#FFFFFF#000000##000000
##D5D4501.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC3F
Deuteranopia (green-blind)
#E6D058
Tritanopia (blue-blind)
#E3C7B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d5d450;
/* rgb */ color: rgb(213, 212, 80);
/* oklch */ color: oklch(84.6% 0.152 108.8);
Tailwind
colors: {
  custom: {
    50: '#e5e187',
    500: '#d5d450',
    950: '#000000',
  },
}
SCSS
$custom: #d5d450;
$custom-light: #e5e187;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d450",
  "rgb": {
    "r": 213,
    "g": 212,
    "b": 80
  },
  "hsl": {
    "h": 59.549,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.84638,
    "c": 0.15154,
    "h": 108.8
  },
  "luminance": 0.61812
}

Semantic roles & 50–950 ramp

primary
#D5D450
secondary
#393A90
accent
#45E443
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D450

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

Preview Lab → · Contrast checker → · Palette generator →

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