#D2D955#D2D955

#D2D955 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.5% C 0.154 H 112.1°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#D2D955
RGBrgb(210, 217, 85)
HSLhsl(63, 63%, 59%)
HSVhsv(63, 61%, 85%)
CMYKcmyk(3.2%, 0%, 60.8%, 14.9%)
CIE-LABlab(83.96, -19.22, 62.27)
CIE-LCHlch(83.96, 65.17, 107.16°)
OKLaboklab(85.51% -0.0577 0.1423)
OKLCHoklch(85.51% 0.154 112.1)
XYZxyz(53.0323, 63.9844, 18.1492)
Luminance0.6398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D955 #5C55D9
analogous
#D99E55 #D2D955 #90D955
triadic
#D2D955 #55D2D9 #D955D2
tetradic
#D2D955 #55D99E #5C55D9 #D95590
square
#D2D955 #55D99E #5C55D9 #D95590
split-complementary
#D2D955 #5590D9 #9E55D9
monochromatic
#8D9321 #BDC52C #D2D955 #DFE487 #ECEFB9

Accessibility & contrast

On white

1.52
#D2D955 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#D2D955 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D955
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D955#FFFFFF#000000##000000
##D2D9551.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D045
Deuteranopia (green-blind)
#E9D35D
Tritanopia (blue-blind)
#DFCDBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d955;
/* rgb */ color: rgb(210, 217, 85);
/* oklch */ color: oklch(85.5% 0.154 112.1);
Tailwind
colors: {
  custom: {
    50: '#e3e48a',
    500: '#d2d955',
    950: '#000000',
  },
}
SCSS
$custom: #d2d955;
$custom-light: #e3e48a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d955",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 85
  },
  "hsl": {
    "h": 63.182,
    "s": 63.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85507,
    "c": 0.15353,
    "h": 112.1
  },
  "luminance": 0.63983
}

Semantic roles & 50–950 ramp

primary
#D2D955
secondary
#3F3A98
accent
#41E64A
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D955

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

Preview Lab → · Contrast checker → · Palette generator →

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