#D2D255#D2D255

#D2D255 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.0% C 0.146 H 109.2°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#D2D255
RGBrgb(210, 210, 85)
HSLhsl(60, 58%, 58%)
HSVhsv(60, 60%, 82%)
CMYKcmyk(0%, 0%, 59.5%, 17.6%)
CIE-LABlab(82.08, -15.77, 60.24)
CIE-LCHlch(82.08, 62.27, 104.67°)
OKLaboklab(84.01% -0.048 0.138)
OKLCHoklch(84.01% 0.146 109.2)
XYZxyz(51.2662, 60.4521, 17.5604)
Luminance0.6045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D255 #5555D2
analogous
#D29355 #D2D255 #93D255
triadic
#D2D255 #55D2D2 #D255D2
tetradic
#D2D255 #55D293 #5555D2 #D25593
square
#D2D255 #55D293 #5555D2 #D25593
split-complementary
#D2D255 #5593D2 #9355D2
monochromatic
#888824 #B9B931 #D2D255 #DFDF85 #ECECB6

Accessibility & contrast

On white

1.60
#D2D255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#D2D255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D255
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D255#FFFFFF#000000##000000
##D2D2551.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA46
Deuteranopia (green-blind)
#E3CE5C
Tritanopia (blue-blind)
#E0C6B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d255;
/* rgb */ color: rgb(210, 210, 85);
/* oklch */ color: oklch(84.0% 0.146 109.2);
Tailwind
colors: {
  custom: {
    50: '#e3df8a',
    500: '#d2d255',
    950: '#000000',
  },
}
SCSS
$custom: #d2d255;
$custom-light: #e3df8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d255",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 60,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8401,
    "c": 0.14606,
    "h": 109.2
  },
  "luminance": 0.60451
}

Semantic roles & 50–950 ramp

primary
#D2D255
secondary
#3C3C8F
accent
#46E146
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D255

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

Preview Lab → · Contrast checker → · Palette generator →

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