#D3D522#D3D522

#D3D522 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.4% C 0.178 H 110.4°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#D3D522
RGBrgb(211, 213, 34)
HSLhsl(61, 72%, 48%)
HSVhsv(61, 84%, 84%)
CMYKcmyk(0.9%, 0%, 84%, 16.5%)
CIE-LABlab(82.68, -19.16, 77.81)
CIE-LCHlch(82.68, 80.13, 103.84°)
OKLaboklab(84.41% -0.062 0.1668)
OKLCHoklch(84.41% 0.178 110.4)
XYZxyz(50.9489, 61.5544, 10.7104)
Luminance0.6155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D522 #2422D5
analogous
#D57D22 #D3D522 #7AD522
triadic
#D3D522 #22D3D5 #D522D3
tetradic
#D3D522 #22D57D #2422D5 #D5227A
square
#D3D522 #22D57D #2422D5 #D5227A
split-complementary
#D3D522 #227AD5 #7D22D5
monochromatic
#6A6B11 #9FA01A #D3D522 #E2E351 #EBEC86

Accessibility & contrast

On white

1.58
#D3D522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#D3D522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D522
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D522#FFFFFF#000000##000000
##D3D5221.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CB00
Deuteranopia (green-blind)
#E8D036
Tritanopia (blue-blind)
#E2C7B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d3d522;
/* rgb */ color: rgb(211, 213, 34);
/* oklch */ color: oklch(84.4% 0.178 110.4);
Tailwind
colors: {
  custom: {
    50: '#e5e171',
    500: '#d3d522',
    950: '#000000',
  },
}
SCSS
$custom: #d3d522;
$custom-light: #e5e171;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d522",
  "rgb": {
    "r": 211,
    "g": 213,
    "b": 34
  },
  "hsl": {
    "h": 60.67,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.8441,
    "c": 0.17798,
    "h": 110.4
  },
  "luminance": 0.61553
}

Semantic roles & 50–950 ramp

primary
#D3D522
secondary
#272675
accent
#39EF3B
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#161509
muted
#85847D

Preview Lab

Preview with #D3D522

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

Preview Lab → · Contrast checker → · Palette generator →

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