#D5D249#D5D249

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

Color values

HEX#D5D249
RGBrgb(213, 210, 73)
HSLhsl(59, 63%, 56%)
HSVhsv(59, 66%, 84%)
CMYKcmyk(0%, 1.4%, 65.7%, 16.5%)
CIE-LABlab(82.23, -15.27, 65.38)
CIE-LCHlch(82.23, 67.14, 103.15°)
OKLaboklab(84.16% -0.048 0.147)
OKLCHoklch(84.16% 0.155 108.1)
XYZxyz(51.6916, 60.7220, 15.2996)
Luminance0.6072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D249 #494CD5
analogous
#D58C49 #D5D249 #92D549
triadic
#D5D249 #49D5D2 #D249D5
tetradic
#D5D249 #49D58C #494CD5 #D54992
square
#D5D249 #49D58C #494CD5 #D54992
split-complementary
#D5D249 #4992D5 #8C49D5
monochromatic
#85831F #B7B42A #D5D249 #E0DE7B #ECEBAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5D249#FFFFFF#000000##000000
##D5D2491.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)
#E3CA36
Deuteranopia (green-blind)
#E5CF52
Tritanopia (blue-blind)
#E4C5B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d5d249;
/* rgb */ color: rgb(213, 210, 73);
/* oklch */ color: oklch(84.2% 0.155 108.1);
Tailwind
colors: {
  custom: {
    50: '#e5df83',
    500: '#d5d249',
    950: '#000000',
  },
}
SCSS
$custom: #d5d249;
$custom-light: #e5df83;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d249",
  "rgb": {
    "r": 213,
    "g": 210,
    "b": 73
  },
  "hsl": {
    "h": 58.714,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.84155,
    "c": 0.15464,
    "h": 108.1
  },
  "luminance": 0.6072
}

Semantic roles & 50–950 ramp

primary
#D5D249
secondary
#37388C
accent
#46E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D249

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

Preview Lab → · Contrast checker → · Palette generator →

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