#D2D863#D2D863

#D2D863 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.4% C 0.141 H 111.7°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#D2D863
RGBrgb(210, 216, 99)
HSLhsl(63, 60%, 62%)
HSVhsv(63, 54%, 85%)
CMYKcmyk(2.8%, 0%, 54.2%, 15.3%)
CIE-LABlab(83.82, -17.70, 56.02)
CIE-LCHlch(83.82, 58.75, 107.54°)
OKLaboklab(85.44% -0.052 0.1306)
OKLCHoklch(85.44% 0.141 111.7)
XYZxyz(53.3876, 63.7153, 21.2879)
Luminance0.6371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D863 #6963D8
analogous
#D8A463 #D2D863 #98D863
triadic
#D2D863 #63D2D8 #D863D2
tetradic
#D2D863 #63D8A4 #6963D8 #D86398
square
#D2D863 #63D8A4 #6963D8 #D86398
split-complementary
#D2D863 #6398D8 #A463D8
monochromatic
#949A27 #C3CB33 #D2D863 #E0E494 #EEF0C5

Accessibility & contrast

On white

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

On black

13.74
#D2D863 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D863
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D863#FFFFFF#000000##000000
##D2D8631.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF57
Deuteranopia (green-blind)
#E7D36A
Tritanopia (blue-blind)
#DECCBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d863;
/* rgb */ color: rgb(210, 216, 99);
/* oklch */ color: oklch(85.4% 0.141 111.7);
Tailwind
colors: {
  custom: {
    50: '#e2e393',
    500: '#d2d863',
    950: '#000000',
  },
}
SCSS
$custom: #d2d863;
$custom-light: #e2e393;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d863",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 99
  },
  "hsl": {
    "h": 63.077,
    "s": 60,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85436,
    "c": 0.14058,
    "h": 111.7
  },
  "luminance": 0.63714
}

Semantic roles & 50–950 ramp

primary
#D2D863
secondary
#46419E
accent
#1EC827
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D863

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

Preview Lab → · Contrast checker → · Palette generator →

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