#D2DB52#D2DB52

#D2DB52 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 85.9% C 0.158 H 112.8°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#D2DB52
RGBrgb(210, 219, 82)
HSLhsl(64, 66%, 59%)
HSVhsv(64, 63%, 86%)
CMYKcmyk(4.1%, 0%, 62.6%, 14.1%)
CIE-LABlab(84.47, -20.40, 64.06)
CIE-LCHlch(84.47, 67.23, 107.66°)
OKLaboklab(85.91% -0.0613 0.1456)
OKLCHoklch(85.91% 0.158 112.8)
XYZxyz(53.4343, 64.9750, 17.7076)
Luminance0.6497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DB52 #5B52DB
analogous
#DBA052 #D2DB52 #8EDB52
triadic
#D2DB52 #52D2DB #DB52D2
tetradic
#D2DB52 #52DBA0 #5B52DB #DB528E
square
#D2DB52 #52DBA0 #5B52DB #DB528E
split-complementary
#D2DB52 #528EDB #A052DB
monochromatic
#8C941F #BCC629 #D2DB52 #DFE685 #ECF0B7

Accessibility & contrast

On white

1.50
#D2DB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.99
#D2DB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DB52
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DB52#FFFFFF#000000##000000
##D2DB521.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD141
Deuteranopia (green-blind)
#EBD45B
Tritanopia (blue-blind)
#DFCFBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d2db52;
/* rgb */ color: rgb(210, 219, 82);
/* oklch */ color: oklch(85.9% 0.158 112.8);
Tailwind
colors: {
  custom: {
    50: '#e3e689',
    500: '#d2db52',
    950: '#000000',
  },
}
SCSS
$custom: #d2db52;
$custom-light: #e3e689;
$custom-dark: #000000;
JSON
{
  "hex": "#d2db52",
  "rgb": {
    "r": 210,
    "g": 219,
    "b": 82
  },
  "hsl": {
    "h": 63.942,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.8591,
    "c": 0.15801,
    "h": 112.8
  },
  "luminance": 0.64974
}

Semantic roles & 50–950 ramp

primary
#D2DB52
secondary
#3F3999
accent
#3FE94A
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2DB52

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

Preview Lab → · Contrast checker → · Palette generator →

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