#D2D559#D2D559

#D2D559 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.7% C 0.146 H 110.4°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#D2D559
RGBrgb(210, 213, 89)
HSLhsl(61, 60%, 59%)
HSVhsv(61, 58%, 84%)
CMYKcmyk(1.4%, 0%, 58.2%, 16.5%)
CIE-LABlab(82.92, -16.98, 59.44)
CIE-LCHlch(82.92, 61.82, 105.94°)
OKLaboklab(84.69% -0.051 0.1368)
OKLCHoklch(84.69% 0.146 110.4)
XYZxyz(52.1772, 62.0127, 18.6703)
Luminance0.6201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D559 #5C59D5
analogous
#D59A59 #D2D559 #94D559
triadic
#D2D559 #59D2D5 #D559D2
tetradic
#D2D559 #59D59A #5C59D5 #D55994
square
#D2D559 #59D59A #5C59D5 #D55994
split-complementary
#D2D559 #5994D5 #9A59D5
monochromatic
#8D8F24 #BDC031 #D2D559 #DFE18A #ECEEBB

Accessibility & contrast

On white

1.57
#D2D559 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#D2D559 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D559
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D559#FFFFFF#000000##000000
##D2D5591.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC4B
Deuteranopia (green-blind)
#E5D060
Tritanopia (blue-blind)
#DFC9BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d559;
/* rgb */ color: rgb(210, 213, 89);
/* oklch */ color: oklch(84.7% 0.146 110.4);
Tailwind
colors: {
  custom: {
    50: '#e2e18d',
    500: '#d2d559',
    950: '#000000',
  },
}
SCSS
$custom: #d2d559;
$custom-light: #e2e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d559",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 89
  },
  "hsl": {
    "h": 61.452,
    "s": 59.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84689,
    "c": 0.14596,
    "h": 110.4
  },
  "luminance": 0.62011
}

Semantic roles & 50–950 ramp

primary
#D2D559
secondary
#3F3D95
accent
#45E349
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D559

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

Preview Lab → · Contrast checker → · Palette generator →

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