#D2D256#D2D256

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

Color values

HEX#D2D256
RGBrgb(210, 210, 86)
HSLhsl(60, 58%, 58%)
HSVhsv(60, 59%, 82%)
CMYKcmyk(0%, 0%, 59%, 17.6%)
CIE-LABlab(82.09, -15.70, 59.83)
CIE-LCHlch(82.09, 61.85, 104.70°)
OKLaboklab(84.02% -0.0477 0.1372)
OKLCHoklch(84.02% 0.145 109.2)
XYZxyz(51.3062, 60.4681, 17.7711)
Luminance0.6047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D256 #5656D2
analogous
#D29456 #D2D256 #94D256
triadic
#D2D256 #56D2D2 #D256D2
tetradic
#D2D256 #56D294 #5656D2 #D25694
square
#D2D256 #56D294 #5656D2 #D25694
split-complementary
#D2D256 #5694D2 #9456D2
monochromatic
#898925 #B9B931 #D2D256 #DFDF86 #ECECB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D256#FFFFFF#000000##000000
##D2D2561.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)
#E2CA48
Deuteranopia (green-blind)
#E3CE5D
Tritanopia (blue-blind)
#E0C6B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d256;
/* rgb */ color: rgb(210, 210, 86);
/* oklch */ color: oklch(84.0% 0.145 109.2);
Tailwind
colors: {
  custom: {
    50: '#e3df8a',
    500: '#d2d256',
    950: '#000000',
  },
}
SCSS
$custom: #d2d256;
$custom-light: #e3df8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d256",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 86
  },
  "hsl": {
    "h": 60,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.8402,
    "c": 0.14524,
    "h": 109.2
  },
  "luminance": 0.60467
}

Semantic roles & 50–950 ramp

primary
#D2D256
secondary
#3D3D90
accent
#47E147
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D256

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

Preview Lab → · Contrast checker → · Palette generator →

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