#D2D855#D2D855

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

Color values

HEX#D2D855
RGBrgb(210, 216, 85)
HSLhsl(63, 63%, 59%)
HSVhsv(63, 61%, 85%)
CMYKcmyk(2.8%, 0%, 60.6%, 15.3%)
CIE-LABlab(83.69, -18.73, 61.98)
CIE-LCHlch(83.69, 64.75, 106.82°)
OKLaboklab(85.29% -0.0563 0.1417)
OKLCHoklch(85.29% 0.152 111.7)
XYZxyz(52.7753, 63.4704, 18.0635)
Luminance0.6347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D855 #5B55D8
analogous
#D89D55 #D2D855 #91D855
triadic
#D2D855 #55D2D8 #D855D2
tetradic
#D2D855 #55D89D #5B55D8 #D85591
square
#D2D855 #55D89D #5B55D8 #D85591
split-complementary
#D2D855 #5591D8 #9D55D8
monochromatic
#8C9121 #BCC32D #D2D855 #DFE387 #ECEFB9

Accessibility & contrast

On white

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

On black

13.69
#D2D855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D855
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D855#FFFFFF#000000##000000
##D2D8551.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF45
Deuteranopia (green-blind)
#E8D25D
Tritanopia (blue-blind)
#DFCCBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d855;
/* rgb */ color: rgb(210, 216, 85);
/* oklch */ color: oklch(85.3% 0.152 111.7);
Tailwind
colors: {
  custom: {
    50: '#e3e38a',
    500: '#d2d855',
    950: '#000000',
  },
}
SCSS
$custom: #d2d855;
$custom-light: #e3e38a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d855",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 85
  },
  "hsl": {
    "h": 62.748,
    "s": 62.679,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85292,
    "c": 0.15244,
    "h": 111.7
  },
  "luminance": 0.63469
}

Semantic roles & 50–950 ramp

primary
#D2D855
secondary
#3F3B96
accent
#42E64A
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D855

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

Preview Lab → · Contrast checker → · Palette generator →

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