#D9D052#D9D052

#D9D052 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.1% C 0.146 H 105.2°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#D9D052
RGBrgb(217, 208, 82)
HSLhsl(56, 64%, 59%)
HSVhsv(56, 62%, 85%)
CMYKcmyk(0%, 4.1%, 62.2%, 14.9%)
CIE-LABlab(82.10, -12.07, 61.69)
CIE-LCHlch(82.10, 62.86, 101.07°)
OKLaboklab(84.15% -0.0382 0.1405)
OKLCHoklch(84.15% 0.146 105.2)
XYZxyz(52.6960, 60.4745, 16.8780)
Luminance0.6047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D052 #525BD9
analogous
#D98C52 #D9D052 #9ED952
triadic
#D9D052 #52D9D0 #D052D9
tetradic
#D9D052 #52D98C #525BD9 #D9529E
square
#D9D052 #52D98C #525BD9 #D9529E
split-complementary
#D9D052 #529ED9 #8C52D9
monochromatic
#918920 #C3B92B #D9D052 #E4DE84 #EFEBB6

Accessibility & contrast

On white

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

On black

13.09
#D9D052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D052
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D052#FFFFFF#000000##000000
##D9D0521.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C943
Deuteranopia (green-blind)
#E4CF59
Tritanopia (blue-blind)
#E8C3B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d9d052;
/* rgb */ color: rgb(217, 208, 82);
/* oklch */ color: oklch(84.1% 0.146 105.2);
Tailwind
colors: {
  custom: {
    50: '#e8de88',
    500: '#d9d052',
    950: '#000000',
  },
}
SCSS
$custom: #d9d052;
$custom-light: #e8de88;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d052",
  "rgb": {
    "r": 217,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 56,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84149,
    "c": 0.14556,
    "h": 105.2
  },
  "luminance": 0.60473
}

Semantic roles & 50–950 ramp

primary
#D9D052
secondary
#393F96
accent
#4CE741
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D052

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

Preview Lab → · Contrast checker → · Palette generator →

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