#D2D663#D2D663

#D2D663 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.0% C 0.138 H 110.8°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#D2D663
RGBrgb(210, 214, 99)
HSLhsl(62, 58%, 61%)
HSVhsv(62, 54%, 84%)
CMYKcmyk(1.9%, 0%, 53.7%, 16.1%)
CIE-LABlab(83.28, -16.71, 55.41)
CIE-LCHlch(83.28, 57.87, 106.79°)
OKLaboklab(85.01% -0.0492 0.1293)
OKLCHoklch(85.01% 0.138 110.8)
XYZxyz(52.8783, 62.6968, 21.1181)
Luminance0.6270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D663 #6763D6
analogous
#D6A163 #D2D663 #99D663
triadic
#D2D663 #63D2D6 #D663D2
tetradic
#D2D663 #63D6A1 #6763D6 #D66399
square
#D2D663 #63D6A1 #6763D6 #D66399
split-complementary
#D2D663 #6399D6 #A163D6
monochromatic
#939728 #C2C734 #D2D663 #E0E393 #EEEFC4

Accessibility & contrast

On white

1.55
#D2D663 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#D2D663 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D663
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D663#FFFFFF#000000##000000
##D2D6631.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE57
Deuteranopia (green-blind)
#E5D169
Tritanopia (blue-blind)
#DFCABC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d663;
/* rgb */ color: rgb(210, 214, 99);
/* oklch */ color: oklch(85.0% 0.138 110.8);
Tailwind
colors: {
  custom: {
    50: '#e2e293',
    500: '#d2d663',
    950: '#000000',
  },
}
SCSS
$custom: #d2d663;
$custom-light: #e2e293;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d663",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 99
  },
  "hsl": {
    "h": 62.087,
    "s": 58.376,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85009,
    "c": 0.13834,
    "h": 110.8
  },
  "luminance": 0.62696
}

Semantic roles & 50–950 ramp

primary
#D2D663
secondary
#45419C
accent
#20C625
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D663

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

Preview Lab → · Contrast checker → · Palette generator →

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