#D2D574#D2D574

#D2D574 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.0% C 0.121 H 110.3°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#D2D574
RGBrgb(210, 213, 116)
HSLhsl(62, 54%, 65%)
HSVhsv(62, 46%, 84%)
CMYKcmyk(1.4%, 0%, 45.5%, 16.5%)
CIE-LABlab(83.21, -14.71, 47.33)
CIE-LCHlch(83.21, 49.56, 107.27°)
OKLaboklab(85.01% -0.0418 0.1132)
OKLCHoklch(85.01% 0.121 110.3)
XYZxyz(53.5259, 62.5522, 25.7737)
Luminance0.6255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D574 #7774D5
analogous
#D5A874 #D2D574 #A1D574
triadic
#D2D574 #74D2D5 #D574D2
tetradic
#D2D574 #74D5A8 #7774D5 #D574A1
square
#D2D574 #74D5A8 #7774D5 #D574A1
split-complementary
#D2D574 #74A1D5 #A874D5
monochromatic
#9B9F30 #C3C745 #D2D574 #E1E3A3 #F0F1D2

Accessibility & contrast

On white

1.55
#D2D574 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#D2D574 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D574
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D574#FFFFFF#000000##000000
##D2D5741.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CE6C
Deuteranopia (green-blind)
#E3D179
Tritanopia (blue-blind)
#DECBBE
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d574;
/* rgb */ color: rgb(210, 213, 116);
/* oklch */ color: oklch(85.0% 0.121 110.3);
Tailwind
colors: {
  custom: {
    50: '#e1e19e',
    500: '#d2d574',
    950: '#000000',
  },
}
SCSS
$custom: #d2d574;
$custom-light: #e1e19e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d574",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 116
  },
  "hsl": {
    "h": 61.856,
    "s": 53.591,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8501,
    "c": 0.12066,
    "h": 110.3
  },
  "luminance": 0.62551
}

Semantic roles & 50–950 ramp

primary
#D2D574
secondary
#4D4AA3
accent
#24C129
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #D2D574

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

Preview Lab → · Contrast checker → · Palette generator →

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