#D5D045#D5D045

#D5D045 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.7% C 0.155 H 107.3°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#D5D045
RGBrgb(213, 208, 69)
HSLhsl(58, 63%, 55%)
HSVhsv(58, 68%, 84%)
CMYKcmyk(0%, 2.3%, 67.6%, 16.5%)
CIE-LABlab(81.67, -14.49, 66.36)
CIE-LCHlch(81.67, 67.92, 102.32°)
OKLaboklab(83.7% -0.0462 0.1484)
OKLCHoklch(83.7% 0.155 107.3)
XYZxyz(51.0725, 59.6892, 14.4600)
Luminance0.5969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D045 #454AD5
analogous
#D58845 #D5D045 #92D545
triadic
#D5D045 #45D5D0 #D045D5
tetradic
#D5D045 #45D588 #454AD5 #D54592
square
#D5D045 #45D588 #454AD5 #D54592
split-complementary
#D5D045 #4592D5 #8845D5
monochromatic
#827F1D #B4AF29 #D5D045 #E0DD77 #ECE9A9

Accessibility & contrast

On white

1.62
#D5D045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#D5D045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D045
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D045#FFFFFF#000000##000000
##D5D0451.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C830
Deuteranopia (green-blind)
#E4CD4E
Tritanopia (blue-blind)
#E4C3B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5d045;
/* rgb */ color: rgb(213, 208, 69);
/* oklch */ color: oklch(83.7% 0.155 107.3);
Tailwind
colors: {
  custom: {
    50: '#e5de81',
    500: '#d5d045',
    950: '#000000',
  },
}
SCSS
$custom: #d5d045;
$custom-light: #e5de81;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d045",
  "rgb": {
    "r": 213,
    "g": 208,
    "b": 69
  },
  "hsl": {
    "h": 57.917,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83699,
    "c": 0.15544,
    "h": 107.3
  },
  "luminance": 0.59688
}

Semantic roles & 50–950 ramp

primary
#D5D045
secondary
#353889
accent
#47E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D045

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

Preview Lab → · Contrast checker → · Palette generator →

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