#D2D755#D2D755

#D2D755 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.1% C 0.151 H 111.3°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#D2D755
RGBrgb(210, 215, 85)
HSLhsl(62, 62%, 59%)
HSVhsv(62, 60%, 84%)
CMYKcmyk(2.3%, 0%, 60.5%, 15.7%)
CIE-LABlab(83.42, -18.24, 61.69)
CIE-LCHlch(83.42, 64.33, 106.47°)
OKLaboklab(85.08% -0.055 0.141)
OKLCHoklch(85.08% 0.151 111.3)
XYZxyz(52.5199, 62.9596, 17.9784)
Luminance0.6296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D755 #5A55D7
analogous
#D79B55 #D2D755 #91D755
triadic
#D2D755 #55D2D7 #D755D2
tetradic
#D2D755 #55D79B #5A55D7 #D75591
square
#D2D755 #55D79B #5A55D7 #D75591
split-complementary
#D2D755 #5591D7 #9B55D7
monochromatic
#8C9022 #BCC12D #D2D755 #DFE387 #ECEEB8

Accessibility & contrast

On white

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

On black

13.59
#D2D755 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D755
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D755#FFFFFF#000000##000000
##D2D7551.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE45
Deuteranopia (green-blind)
#E7D25D
Tritanopia (blue-blind)
#DFCBBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d755;
/* rgb */ color: rgb(210, 215, 85);
/* oklch */ color: oklch(85.1% 0.151 111.3);
Tailwind
colors: {
  custom: {
    50: '#e3e38a',
    500: '#d2d755',
    950: '#000000',
  },
}
SCSS
$custom: #d2d755;
$custom-light: #e3e38a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d755",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 85
  },
  "hsl": {
    "h": 62.308,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.85078,
    "c": 0.15136,
    "h": 111.3
  },
  "luminance": 0.62958
}

Semantic roles & 50–950 ramp

primary
#D2D755
secondary
#3E3B95
accent
#43E549
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D755

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

Preview Lab → · Contrast checker → · Palette generator →

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