#D5D451#D5D451

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

Color values

HEX#D5D451
RGBrgb(213, 212, 81)
HSLhsl(60, 61%, 58%)
HSVhsv(60, 62%, 84%)
CMYKcmyk(0%, 0.5%, 62%, 16.5%)
CIE-LABlab(82.82, -15.79, 62.79)
CIE-LCHlch(82.82, 64.74, 104.11°)
OKLaboklab(84.65% -0.0486 0.1427)
OKLCHoklch(84.65% 0.151 108.8)
XYZxyz(52.4709, 61.8287, 16.9531)
Luminance0.6183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D451 #5152D5
analogous
#D59251 #D5D451 #94D551
triadic
#D5D451 #51D5D4 #D451D5
tetradic
#D5D451 #51D592 #5152D5 #D55194
square
#D5D451 #51D592 #5152D5 #D55194
split-complementary
#D5D451 #5194D5 #9251D5
monochromatic
#8A8921 #BCBA2D #D5D451 #E1E082 #EDECB4

Accessibility & contrast

On white

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

On black

13.37
#D5D451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D451
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D451#FFFFFF#000000##000000
##D5D4511.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5d451;
/* rgb */ color: rgb(213, 212, 81);
/* oklch */ color: oklch(84.6% 0.151 108.8);
Tailwind
colors: {
  custom: {
    50: '#e5e188',
    500: '#d5d451',
    950: '#000000',
  },
}
SCSS
$custom: #d5d451;
$custom-light: #e5e188;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d451",
  "rgb": {
    "r": 213,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 59.545,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84647,
    "c": 0.15077,
    "h": 108.8
  },
  "luminance": 0.61827
}

Semantic roles & 50–950 ramp

primary
#D5D451
secondary
#3A3B90
accent
#45E444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D451

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

Preview Lab → · Contrast checker → · Palette generator →

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