#D2D062#D2D062

#D2D062 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.7% C 0.133 H 108.0°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#D2D062
RGBrgb(210, 208, 98)
HSLhsl(59, 55%, 60%)
HSVhsv(59, 53%, 82%)
CMYKcmyk(0%, 1%, 53.3%, 17.6%)
CIE-LABlab(81.67, -13.80, 54.01)
CIE-LCHlch(81.67, 55.75, 104.33°)
OKLaboklab(83.72% -0.041 0.1262)
OKLCHoklch(83.72% 0.133 108)
XYZxyz(51.3402, 59.6966, 20.3710)
Luminance0.5969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D062 #6264D2
analogous
#D29862 #D2D062 #9CD262
triadic
#D2D062 #62D2D0 #D062D2
tetradic
#D2D062 #62D298 #6264D2 #D2629C
square
#D2D062 #62D298 #6264D2 #D2629C
split-complementary
#D2D062 #629CD2 #9862D2
monochromatic
#908E29 #C0BD37 #D2D062 #E0DE92 #EDECC1

Accessibility & contrast

On white

1.62
#D2D062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#D2D062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D062
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D062#FFFFFF#000000##000000
##D2D0621.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC957
Deuteranopia (green-blind)
#E1CD68
Tritanopia (blue-blind)
#DFC4B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d062;
/* rgb */ color: rgb(210, 208, 98);
/* oklch */ color: oklch(83.7% 0.133 108.0);
Tailwind
colors: {
  custom: {
    50: '#e2de92',
    500: '#d2d062',
    950: '#000000',
  },
}
SCSS
$custom: #d2d062;
$custom-light: #e2de92;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d062",
  "rgb": {
    "r": 210,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 58.929,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83722,
    "c": 0.13268,
    "h": 108
  },
  "luminance": 0.59695
}

Semantic roles & 50–950 ramp

primary
#D2D062
secondary
#424496
accent
#25C323
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D062

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

Preview Lab → · Contrast checker → · Palette generator →

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