#D2D665#D2D665

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

Color values

HEX#D2D665
RGBrgb(210, 214, 101)
HSLhsl(62, 58%, 62%)
HSVhsv(62, 53%, 84%)
CMYKcmyk(1.9%, 0%, 52.8%, 16.1%)
CIE-LABlab(83.30, -16.55, 54.52)
CIE-LCHlch(83.30, 56.98, 106.89°)
OKLaboklab(85.03% -0.0485 0.1276)
OKLCHoklch(85.03% 0.137 110.8)
XYZxyz(52.9751, 62.7355, 21.6279)
Luminance0.6273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D665 #6965D6
analogous
#D6A265 #D2D665 #9AD665
triadic
#D2D665 #65D2D6 #D665D2
tetradic
#D2D665 #65D6A2 #6965D6 #D6659A
square
#D2D665 #65D6A2 #6965D6 #D6659A
split-complementary
#D2D665 #659AD6 #A265D6
monochromatic
#949828 #C3C835 #D2D665 #E0E395 #EEF0C6

Accessibility & contrast

On white

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

On black

13.55
#D2D665 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D665
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D665#FFFFFF#000000##000000
##D2D6651.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE5A
Deuteranopia (green-blind)
#E5D16B
Tritanopia (blue-blind)
#DFCBBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d665;
/* rgb */ color: rgb(210, 214, 101);
/* oklch */ color: oklch(85.0% 0.137 110.8);
Tailwind
colors: {
  custom: {
    50: '#e2e294',
    500: '#d2d665',
    950: '#000000',
  },
}
SCSS
$custom: #d2d665;
$custom-light: #e2e294;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d665",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 101
  },
  "hsl": {
    "h": 62.124,
    "s": 57.949,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85032,
    "c": 0.1365,
    "h": 110.8
  },
  "luminance": 0.62734
}

Semantic roles & 50–950 ramp

primary
#D2D665
secondary
#46429D
accent
#20C626
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D665

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

Preview Lab → · Contrast checker → · Palette generator →

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