#D2D662#D2D662

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

Color values

HEX#D2D662
RGBrgb(210, 214, 98)
HSLhsl(62, 59%, 61%)
HSVhsv(62, 54%, 84%)
CMYKcmyk(1.9%, 0%, 54.2%, 16.1%)
CIE-LABlab(83.27, -16.79, 55.85)
CIE-LCHlch(83.27, 58.32, 106.74°)
OKLaboklab(85% -0.0495 0.1301)
OKLCHoklch(85% 0.139 110.8)
XYZxyz(52.8308, 62.6778, 20.8679)
Luminance0.6268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D662 #6662D6
analogous
#D6A062 #D2D662 #98D662
triadic
#D2D662 #62D2D6 #D662D2
tetradic
#D2D662 #62D6A0 #6662D6 #D66298
square
#D2D662 #62D6A0 #6662D6 #D66298
split-complementary
#D2D662 #6298D6 #A062D6
monochromatic
#939627 #C2C734 #D2D662 #E0E393 #EEEFC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D662#FFFFFF#000000##000000
##D2D6621.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)
#E5CE56
Deuteranopia (green-blind)
#E6D168
Tritanopia (blue-blind)
#DFCABC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d662;
/* rgb */ color: rgb(210, 214, 98);
/* oklch */ color: oklch(85.0% 0.139 110.8);
Tailwind
colors: {
  custom: {
    50: '#e2e292',
    500: '#d2d662',
    950: '#000000',
  },
}
SCSS
$custom: #d2d662;
$custom-light: #e2e292;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d662",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 98
  },
  "hsl": {
    "h": 62.069,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84998,
    "c": 0.13924,
    "h": 110.8
  },
  "luminance": 0.62677
}

Semantic roles & 50–950 ramp

primary
#D2D662
secondary
#44419B
accent
#1FC625
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D662

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

Preview Lab → · Contrast checker → · Palette generator →

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