#D2D860#D2D860

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

Color values

HEX#D2D860
RGBrgb(210, 216, 96)
HSLhsl(63, 61%, 61%)
HSVhsv(63, 56%, 85%)
CMYKcmyk(2.8%, 0%, 55.6%, 15.3%)
CIE-LABlab(83.79, -17.94, 57.33)
CIE-LCHlch(83.79, 60.07, 107.37°)
OKLaboklab(85.4% -0.053 0.1331)
OKLCHoklch(85.4% 0.143 111.7)
XYZxyz(53.2468, 63.6590, 20.5465)
Luminance0.6366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D860 #6660D8
analogous
#D8A260 #D2D860 #96D860
triadic
#D2D860 #60D2D8 #D860D2
tetradic
#D2D860 #60D8A2 #6660D8 #D86096
square
#D2D860 #60D8A2 #6660D8 #D86096
split-complementary
#D2D860 #6096D8 #A260D8
monochromatic
#939825 #C2C931 #D2D860 #E0E491 #EEF0C2

Accessibility & contrast

On white

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

On black

13.73
#D2D860 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D860
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D860#FFFFFF#000000##000000
##D2D8601.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF53
Deuteranopia (green-blind)
#E7D267
Tritanopia (blue-blind)
#DFCCBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d860;
/* rgb */ color: rgb(210, 216, 96);
/* oklch */ color: oklch(85.4% 0.143 111.7);
Tailwind
colors: {
  custom: {
    50: '#e2e391',
    500: '#d2d860',
    950: '#000000',
  },
}
SCSS
$custom: #d2d860;
$custom-light: #e2e391;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d860",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 96
  },
  "hsl": {
    "h": 63,
    "s": 60.606,
    "l": 61.176
  },
  "oklch": {
    "l": 0.85403,
    "c": 0.14326,
    "h": 111.7
  },
  "luminance": 0.63658
}

Semantic roles & 50–950 ramp

primary
#D2D860
secondary
#443F9D
accent
#1DC826
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D860

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

Preview Lab → · Contrast checker → · Palette generator →

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