#D2D523#D2D523

#D2D523 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.3% C 0.178 H 110.7°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#D2D523
RGBrgb(210, 213, 35)
HSLhsl(61, 72%, 49%)
HSVhsv(61, 84%, 84%)
CMYKcmyk(1.4%, 0%, 83.6%, 16.5%)
CIE-LABlab(82.60, -19.56, 77.49)
CIE-LCHlch(82.60, 79.92, 104.16°)
OKLaboklab(84.33% -0.063 0.1664)
OKLCHoklch(84.33% 0.178 110.7)
XYZxyz(50.6779, 61.4130, 10.7741)
Luminance0.6141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D523 #2623D5
analogous
#D57F23 #D2D523 #79D523
triadic
#D2D523 #23D2D5 #D523D2
tetradic
#D2D523 #23D57F #2623D5 #D52379
square
#D2D523 #23D57F #2623D5 #D52379
split-complementary
#D2D523 #2379D5 #7F23D5
monochromatic
#6A6C12 #9EA01A #D2D523 #E0E353 #EAEB87

Accessibility & contrast

On white

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

On black

13.28
#D2D523 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D523
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D523#FFFFFF#000000##000000
##D2D5231.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d523;
/* rgb */ color: rgb(210, 213, 35);
/* oklch */ color: oklch(84.3% 0.178 110.7);
Tailwind
colors: {
  custom: {
    50: '#e4e172',
    500: '#d2d523',
    950: '#000000',
  },
}
SCSS
$custom: #d2d523;
$custom-light: #e4e172;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d523",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 35
  },
  "hsl": {
    "h": 61.011,
    "s": 71.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.84331,
    "c": 0.17788,
    "h": 110.7
  },
  "luminance": 0.61411
}

Semantic roles & 50–950 ramp

primary
#D2D523
secondary
#282775
accent
#39EF3C
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#161509
muted
#85847D

Preview Lab

Preview with #D2D523

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

Preview Lab → · Contrast checker → · Palette generator →

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