#D5D848#D5D848

#D5D848 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.4% C 0.161 H 110.5°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#D5D848
RGBrgb(213, 216, 72)
HSLhsl(61, 65%, 56%)
HSVhsv(61, 67%, 85%)
CMYKcmyk(1.4%, 0%, 66.7%, 15.3%)
CIE-LABlab(83.82, -18.30, 67.39)
CIE-LCHlch(83.82, 69.83, 105.19°)
OKLaboklab(85.43% -0.0566 0.1511)
OKLCHoklch(85.43% 0.161 110.5)
XYZxyz(53.1678, 63.7272, 15.6295)
Luminance0.6373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D848 #4B48D8
analogous
#D89348 #D5D848 #8DD848
triadic
#D5D848 #48D5D8 #D848D5
tetradic
#D5D848 #48D893 #4B48D8 #D8488D
square
#D5D848 #48D893 #4B48D8 #D8488D
split-complementary
#D5D848 #488DD8 #9348D8
monochromatic
#86891D #B8BB28 #D5D848 #E1E37A #ECEEAD

Accessibility & contrast

On white

1.53
#D5D848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#D5D848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D848
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D848#FFFFFF#000000##000000
##D5D8481.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF33
Deuteranopia (green-blind)
#EAD352
Tritanopia (blue-blind)
#E3CBBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d5d848;
/* rgb */ color: rgb(213, 216, 72);
/* oklch */ color: oklch(85.4% 0.161 110.5);
Tailwind
colors: {
  custom: {
    50: '#e5e383',
    500: '#d5d848',
    950: '#000000',
  },
}
SCSS
$custom: #d5d848;
$custom-light: #e5e383;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d848",
  "rgb": {
    "r": 213,
    "g": 216,
    "b": 72
  },
  "hsl": {
    "h": 61.25,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.85425,
    "c": 0.16132,
    "h": 110.5
  },
  "luminance": 0.63726
}

Semantic roles & 50–950 ramp

primary
#D5D848
secondary
#37368F
accent
#40E843
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D848

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

Preview Lab → · Contrast checker → · Palette generator →

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