#D5D745#D5D745

#D5D745 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.2% C 0.162 H 110.2°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#D5D745
RGBrgb(213, 215, 69)
HSLhsl(61, 65%, 56%)
HSVhsv(61, 68%, 84%)
CMYKcmyk(0.9%, 0%, 67.9%, 15.7%)
CIE-LABlab(83.54, -17.97, 68.23)
CIE-LCHlch(83.54, 70.55, 104.75°)
OKLaboklab(85.19% -0.056 0.1524)
OKLCHoklch(85.19% 0.162 110.2)
XYZxyz(52.8169, 63.1781, 15.0414)
Luminance0.6318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D745 #4745D7
analogous
#D79045 #D5D745 #8CD745
triadic
#D5D745 #45D5D7 #D745D5
tetradic
#D5D745 #45D790 #4745D7 #D7458C
square
#D5D745 #45D790 #4745D7 #D7458C
split-complementary
#D5D745 #458CD7 #9045D7
monochromatic
#84851D #B5B727 #D5D745 #E0E277 #ECEDAA

Accessibility & contrast

On white

1.54
#D5D745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#D5D745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D745
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D745#FFFFFF#000000##000000
##D5D7451.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE2E
Deuteranopia (green-blind)
#E9D24F
Tritanopia (blue-blind)
#E4CABA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d5d745;
/* rgb */ color: rgb(213, 215, 69);
/* oklch */ color: oklch(85.2% 0.162 110.2);
Tailwind
colors: {
  custom: {
    50: '#e5e381',
    500: '#d5d745',
    950: '#000000',
  },
}
SCSS
$custom: #d5d745;
$custom-light: #e5e381;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d745",
  "rgb": {
    "r": 213,
    "g": 215,
    "b": 69
  },
  "hsl": {
    "h": 60.822,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.85189,
    "c": 0.16231,
    "h": 110.2
  },
  "luminance": 0.63177
}

Semantic roles & 50–950 ramp

primary
#D5D745
secondary
#36358C
accent
#40E843
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D745

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

Preview Lab → · Contrast checker → · Palette generator →

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