#D0D962#D0D962

#D0D962 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.5% C 0.143 H 113.0°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#D0D962
RGBrgb(208, 217, 98)
HSLhsl(65, 61%, 62%)
HSVhsv(65, 55%, 85%)
CMYKcmyk(4.1%, 0%, 54.8%, 14.9%)
CIE-LABlab(83.92, -19.08, 56.55)
CIE-LCHlch(83.92, 59.68, 108.64°)
OKLaboklab(85.48% -0.0559 0.1317)
OKLCHoklch(85.48% 0.143 113)
XYZxyz(53.0310, 63.9184, 21.0968)
Luminance0.6392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D962 #6B62D9
analogous
#D9A762 #D0D962 #95D962
triadic
#D0D962 #62D0D9 #D962D0
tetradic
#D0D962 #62D9A7 #6B62D9 #D96295
square
#D0D962 #62D9A7 #6B62D9 #D96295
split-complementary
#D0D962 #6295D9 #A762D9
monochromatic
#929B26 #C1CC31 #D0D962 #DFE593 #EEF1C5

Accessibility & contrast

On white

1.52
#D0D962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#D0D962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D962
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D962#FFFFFF#000000##000000
##D0D9621.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D056
Deuteranopia (green-blind)
#E7D369
Tritanopia (blue-blind)
#DCCEBF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d0d962;
/* rgb */ color: rgb(208, 217, 98);
/* oklch */ color: oklch(85.5% 0.143 113.0);
Tailwind
colors: {
  custom: {
    50: '#e1e492',
    500: '#d0d962',
    950: '#000000',
  },
}
SCSS
$custom: #d0d962;
$custom-light: #e1e492;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d962",
  "rgb": {
    "r": 208,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 64.538,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.8548,
    "c": 0.14305,
    "h": 113
  },
  "luminance": 0.63917
}

Semantic roles & 50–950 ramp

primary
#D0D962
secondary
#47409F
accent
#1DC92A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D0D962

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

Preview Lab → · Contrast checker → · Palette generator →

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