#D2D762#D2D762

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

Color values

HEX#D2D762
RGBrgb(210, 215, 98)
HSLhsl(63, 59%, 61%)
HSVhsv(63, 54%, 84%)
CMYKcmyk(2.3%, 0%, 54.4%, 15.7%)
CIE-LABlab(83.54, -17.29, 56.15)
CIE-LCHlch(83.54, 58.76, 107.11°)
OKLaboklab(85.21% -0.0509 0.1308)
OKLCHoklch(85.21% 0.14 111.3)
XYZxyz(53.0846, 63.1855, 20.9525)
Luminance0.6318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D762 #6762D7
analogous
#D7A262 #D2D762 #98D762
triadic
#D2D762 #62D2D7 #D762D2
tetradic
#D2D762 #62D7A2 #6762D7 #D76298
square
#D2D762 #62D7A2 #6762D7 #D76298
split-complementary
#D2D762 #6298D7 #A262D7
monochromatic
#939827 #C2C933 #D2D762 #E0E393 #EEF0C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D762#FFFFFF#000000##000000
##D2D7621.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)
#E6CE56
Deuteranopia (green-blind)
#E6D269
Tritanopia (blue-blind)
#DFCBBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d762;
/* rgb */ color: rgb(210, 215, 98);
/* oklch */ color: oklch(85.2% 0.140 111.3);
Tailwind
colors: {
  custom: {
    50: '#e2e392',
    500: '#d2d762',
    950: '#000000',
  },
}
SCSS
$custom: #d2d762;
$custom-light: #e2e392;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d762",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 98
  },
  "hsl": {
    "h": 62.564,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85211,
    "c": 0.14036,
    "h": 111.3
  },
  "luminance": 0.63184
}

Semantic roles & 50–950 ramp

primary
#D2D762
secondary
#45419D
accent
#1EC726
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D762

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

Preview Lab → · Contrast checker → · Palette generator →

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