#D2D657#D2D657

#D2D657 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 84.9% C 0.149 H 110.9°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#D2D657
RGBrgb(210, 214, 87)
HSLhsl(62, 61%, 59%)
HSVhsv(62, 59%, 84%)
CMYKcmyk(1.9%, 0%, 59.3%, 16.1%)
CIE-LABlab(83.17, -17.61, 60.57)
CIE-LCHlch(83.17, 63.08, 106.21°)
OKLaboklab(84.88% -0.053 0.1389)
OKLCHoklch(84.88% 0.149 110.9)
XYZxyz(52.3466, 62.4841, 18.3181)
Luminance0.6248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D657 #5B57D6
analogous
#D69B57 #D2D657 #93D657
triadic
#D2D657 #57D2D6 #D657D2
tetradic
#D2D657 #57D69B #5B57D6 #D65793
square
#D2D657 #57D69B #5B57D6 #D65793
split-complementary
#D2D657 #5793D6 #9B57D6
monochromatic
#8C9023 #BCC12F #D2D657 #DFE288 #ECEEB9

Accessibility & contrast

On white

1.56
#D2D657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#D2D657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D657
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D657#FFFFFF#000000##000000
##D2D6571.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD48
Deuteranopia (green-blind)
#E6D15F
Tritanopia (blue-blind)
#DFCABB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d657;
/* rgb */ color: rgb(210, 214, 87);
/* oklch */ color: oklch(84.9% 0.149 110.9);
Tailwind
colors: {
  custom: {
    50: '#e3e28b',
    500: '#d2d657',
    950: '#000000',
  },
}
SCSS
$custom: #d2d657;
$custom-light: #e3e28b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d657",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 87
  },
  "hsl": {
    "h": 61.89,
    "s": 60.766,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84883,
    "c": 0.14868,
    "h": 110.9
  },
  "luminance": 0.62483
}

Semantic roles & 50–950 ramp

primary
#D2D657
secondary
#3F3C95
accent
#44E449
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D657

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

Preview Lab → · Contrast checker → · Palette generator →

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