#D2D764#D2D764

#D2D764 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.2% C 0.139 H 111.3°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#D2D764
RGBrgb(210, 215, 100)
HSLhsl(63, 59%, 62%)
HSVhsv(63, 53%, 84%)
CMYKcmyk(2.3%, 0%, 53.5%, 15.7%)
CIE-LABlab(83.56, -17.13, 55.27)
CIE-LCHlch(83.56, 57.86, 107.22°)
OKLaboklab(85.23% -0.0503 0.1291)
OKLCHoklch(85.23% 0.139 111.3)
XYZxyz(53.1802, 63.2237, 21.4561)
Luminance0.6322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D764 #6964D7
analogous
#D7A364 #D2D764 #99D764
triadic
#D2D764 #64D2D7 #D764D2
tetradic
#D2D764 #64D7A3 #6964D7 #D76499
square
#D2D764 #64D7A3 #6964D7 #D76499
split-complementary
#D2D764 #6499D7 #A364D7
monochromatic
#949928 #C3CA34 #D2D764 #E0E495 #EEF0C5

Accessibility & contrast

On white

1.54
#D2D764 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#D2D764 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D764
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D764#FFFFFF#000000##000000
##D2D7641.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF59
Deuteranopia (green-blind)
#E6D26A
Tritanopia (blue-blind)
#DFCCBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d764;
/* rgb */ color: rgb(210, 215, 100);
/* oklch */ color: oklch(85.2% 0.139 111.3);
Tailwind
colors: {
  custom: {
    50: '#e2e393',
    500: '#d2d764',
    950: '#000000',
  },
}
SCSS
$custom: #d2d764;
$custom-light: #e2e393;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d764",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 100
  },
  "hsl": {
    "h": 62.609,
    "s": 58.974,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85234,
    "c": 0.13854,
    "h": 111.3
  },
  "luminance": 0.63223
}

Semantic roles & 50–950 ramp

primary
#D2D764
secondary
#46429E
accent
#1FC726
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D764

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

Preview Lab → · Contrast checker → · Palette generator →

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