#D0D522#D0D522

#D0D522 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.2% C 0.179 H 111.4°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#D0D522
RGBrgb(208, 213, 34)
HSLhsl(62, 72%, 48%)
HSVhsv(62, 84%, 84%)
CMYKcmyk(2.3%, 0%, 84%, 16.5%)
CIE-LABlab(82.44, -20.42, 77.52)
CIE-LCHlch(82.44, 80.16, 104.76°)
OKLaboklab(84.16% -0.0653 0.1663)
OKLCHoklch(84.16% 0.179 111.4)
XYZxyz(50.0973, 61.1153, 10.6705)
Luminance0.6111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D522 #2722D5
analogous
#D58022 #D0D522 #76D522
triadic
#D0D522 #22D0D5 #D522D0
tetradic
#D0D522 #22D580 #2722D5 #D52276
square
#D0D522 #22D580 #2722D5 #D52276
split-complementary
#D0D522 #2276D5 #8022D5
monochromatic
#696B11 #9CA01A #D0D522 #DFE351 #E9EC86

Accessibility & contrast

On white

1.59
#D0D522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#D0D522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D522
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D522#FFFFFF#000000##000000
##D0D5221.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CB00
Deuteranopia (green-blind)
#E7CF36
Tritanopia (blue-blind)
#DFC7B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d0d522;
/* rgb */ color: rgb(208, 213, 34);
/* oklch */ color: oklch(84.2% 0.179 111.4);
Tailwind
colors: {
  custom: {
    50: '#e3e171',
    500: '#d0d522',
    950: '#000000',
  },
}
SCSS
$custom: #d0d522;
$custom-light: #e3e171;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d522",
  "rgb": {
    "r": 208,
    "g": 213,
    "b": 34
  },
  "hsl": {
    "h": 61.676,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.84164,
    "c": 0.17871,
    "h": 111.4
  },
  "luminance": 0.61114
}

Semantic roles & 50–950 ramp

primary
#D0D522
secondary
#282675
accent
#39EF3E
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#161509
muted
#85847D

Preview Lab

Preview with #D0D522

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

Preview Lab → · Contrast checker → · Palette generator →

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