#D5D248#D5D248

#D5D248 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.1% C 0.155 H 108.1°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#D5D248
RGBrgb(213, 210, 72)
HSLhsl(59, 63%, 56%)
HSVhsv(59, 66%, 84%)
CMYKcmyk(0%, 1.4%, 66.2%, 16.5%)
CIE-LABlab(82.22, -15.33, 65.77)
CIE-LCHlch(82.22, 67.53, 103.12°)
OKLaboklab(84.15% -0.0483 0.1477)
OKLCHoklch(84.15% 0.155 108.1)
XYZxyz(51.6587, 60.7088, 15.1264)
Luminance0.6071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D248 #484BD5
analogous
#D58B48 #D5D248 #92D548
triadic
#D5D248 #48D5D2 #D248D5
tetradic
#D5D248 #48D58B #484BD5 #D54892
square
#D5D248 #48D58B #484BD5 #D54892
split-complementary
#D5D248 #4892D5 #8B48D5
monochromatic
#84821E #B6B32A #D5D248 #E0DE7A #ECEAAC

Accessibility & contrast

On white

1.60
#D5D248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#D5D248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D248
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D248#FFFFFF#000000##000000
##D5D2481.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA34
Deuteranopia (green-blind)
#E5CF51
Tritanopia (blue-blind)
#E4C5B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d5d248;
/* rgb */ color: rgb(213, 210, 72);
/* oklch */ color: oklch(84.1% 0.155 108.1);
Tailwind
colors: {
  custom: {
    50: '#e5df82',
    500: '#d5d248',
    950: '#000000',
  },
}
SCSS
$custom: #d5d248;
$custom-light: #e5df82;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d248",
  "rgb": {
    "r": 213,
    "g": 210,
    "b": 72
  },
  "hsl": {
    "h": 58.723,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.84147,
    "c": 0.15534,
    "h": 108.1
  },
  "luminance": 0.60707
}

Semantic roles & 50–950 ramp

primary
#D5D248
secondary
#36388B
accent
#46E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D248

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

Preview Lab → · Contrast checker → · Palette generator →

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