#D2D866#D2D866

#D2D866 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.5% C 0.138 H 111.7°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#D2D866
RGBrgb(210, 216, 102)
HSLhsl(63, 59%, 62%)
HSVhsv(63, 53%, 85%)
CMYKcmyk(2.8%, 0%, 52.8%, 15.3%)
CIE-LABlab(83.85, -17.46, 54.69)
CIE-LCHlch(83.85, 57.41, 107.70°)
OKLaboklab(85.47% -0.051 0.1281)
OKLCHoklch(85.47% 0.138 111.7)
XYZxyz(53.5336, 63.7738, 22.0573)
Luminance0.6377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D866 #6C66D8
analogous
#D8A566 #D2D866 #99D866
triadic
#D2D866 #66D2D8 #D866D2
tetradic
#D2D866 #66D8A5 #6C66D8 #D86699
square
#D2D866 #66D8A5 #6C66D8 #D86699
split-complementary
#D2D866 #6699D8 #A566D8
monochromatic
#969C28 #C4CC35 #D2D866 #E0E497 #EFF1C8

Accessibility & contrast

On white

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

On black

13.75
#D2D866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D866
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D866#FFFFFF#000000##000000
##D2D8661.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF5B
Deuteranopia (green-blind)
#E7D36C
Tritanopia (blue-blind)
#DECDBF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d866;
/* rgb */ color: rgb(210, 216, 102);
/* oklch */ color: oklch(85.5% 0.138 111.7);
Tailwind
colors: {
  custom: {
    50: '#e2e395',
    500: '#d2d866',
    950: '#000000',
  },
}
SCSS
$custom: #d2d866;
$custom-light: #e2e395;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d866",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 63.158,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.8547,
    "c": 0.13784,
    "h": 111.7
  },
  "luminance": 0.63773
}

Semantic roles & 50–950 ramp

primary
#D2D866
secondary
#4742A0
accent
#1EC727
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D866

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

Preview Lab → · Contrast checker → · Palette generator →

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