#D2D859#D2D859

#D2D859 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.3% C 0.149 H 111.7°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#D2D859
RGBrgb(210, 216, 89)
HSLhsl(63, 62%, 60%)
HSVhsv(63, 59%, 85%)
CMYKcmyk(2.8%, 0%, 58.8%, 15.3%)
CIE-LABlab(83.72, -18.46, 60.32)
CIE-LCHlch(83.72, 63.08, 107.01°)
OKLaboklab(85.33% -0.0551 0.1387)
OKLCHoklch(85.33% 0.149 111.7)
XYZxyz(52.9388, 63.5358, 18.9242)
Luminance0.6353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D859 #5F59D8
analogous
#D89F59 #D2D859 #92D859
triadic
#D2D859 #59D2D8 #D859D2
tetradic
#D2D859 #59D89F #5F59D8 #D85992
square
#D2D859 #59D89F #5F59D8 #D85992
split-complementary
#D2D859 #5992D8 #9F59D8
monochromatic
#8F9423 #BEC52E #D2D859 #DFE48B #EDEFBC

Accessibility & contrast

On white

1.53
#D2D859 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#D2D859 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D859
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D859#FFFFFF#000000##000000
##D2D8591.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4B
Deuteranopia (green-blind)
#E8D261
Tritanopia (blue-blind)
#DFCCBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d859;
/* rgb */ color: rgb(210, 216, 89);
/* oklch */ color: oklch(85.3% 0.149 111.7);
Tailwind
colors: {
  custom: {
    50: '#e2e38d',
    500: '#d2d859',
    950: '#000000',
  },
}
SCSS
$custom: #d2d859;
$custom-light: #e2e38d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d859",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 89
  },
  "hsl": {
    "h": 62.835,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.85331,
    "c": 0.14922,
    "h": 111.7
  },
  "luminance": 0.63535
}

Semantic roles & 50–950 ramp

primary
#D2D859
secondary
#413C99
accent
#43E54A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D859

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

Preview Lab → · Contrast checker → · Palette generator →

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