#D5D748#D5D748

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

Color values

HEX#D5D748
RGBrgb(213, 215, 72)
HSLhsl(61, 64%, 56%)
HSVhsv(61, 67%, 84%)
CMYKcmyk(0.9%, 0%, 66.5%, 15.7%)
CIE-LABlab(83.56, -17.80, 67.12)
CIE-LCHlch(83.56, 69.44, 104.86°)
OKLaboklab(85.21% -0.0552 0.1505)
OKLCHoklch(85.21% 0.16 110.1)
XYZxyz(52.9124, 63.2163, 15.5443)
Luminance0.6321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D748 #4A48D7
analogous
#D79248 #D5D748 #8ED748
triadic
#D5D748 #48D5D7 #D748D5
tetradic
#D5D748 #48D792 #4A48D7 #D7488E
square
#D5D748 #48D792 #4A48D7 #D7488E
split-complementary
#D5D748 #488ED7 #9248D7
monochromatic
#86871E #B7B929 #D5D748 #E1E27A #ECEDAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5D748#FFFFFF#000000##000000
##D5D7481.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)
#E8CE33
Deuteranopia (green-blind)
#E9D252
Tritanopia (blue-blind)
#E3CABA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d5d748;
/* rgb */ color: rgb(213, 215, 72);
/* oklch */ color: oklch(85.2% 0.160 110.1);
Tailwind
colors: {
  custom: {
    50: '#e5e383',
    500: '#d5d748',
    950: '#000000',
  },
}
SCSS
$custom: #d5d748;
$custom-light: #e5e383;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d748",
  "rgb": {
    "r": 213,
    "g": 215,
    "b": 72
  },
  "hsl": {
    "h": 60.839,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.85212,
    "c": 0.16031,
    "h": 110.1
  },
  "luminance": 0.63215
}

Semantic roles & 50–950 ramp

primary
#D5D748
secondary
#37368D
accent
#41E743
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D748

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

Preview Lab → · Contrast checker → · Palette generator →

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