#D2D861#D2D861

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

Color values

HEX#D2D861
RGBrgb(210, 216, 97)
HSLhsl(63, 60%, 61%)
HSVhsv(63, 55%, 85%)
CMYKcmyk(2.8%, 0%, 55.1%, 15.3%)
CIE-LABlab(83.80, -17.86, 56.90)
CIE-LCHlch(83.80, 59.63, 107.43°)
OKLaboklab(85.41% -0.0526 0.1323)
OKLCHoklch(85.41% 0.142 111.7)
XYZxyz(53.2931, 63.6776, 20.7906)
Luminance0.6368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D861 #6761D8
analogous
#D8A361 #D2D861 #97D861
triadic
#D2D861 #61D2D8 #D861D2
tetradic
#D2D861 #61D8A3 #6761D8 #D86197
square
#D2D861 #61D8A3 #6761D8 #D86197
split-complementary
#D2D861 #6197D8 #A361D8
monochromatic
#939926 #C2CA32 #D2D861 #E0E492 #EEF0C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D861#FFFFFF#000000##000000
##D2D8611.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)
#E7CF55
Deuteranopia (green-blind)
#E7D368
Tritanopia (blue-blind)
#DFCCBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d861;
/* rgb */ color: rgb(210, 216, 97);
/* oklch */ color: oklch(85.4% 0.142 111.7);
Tailwind
colors: {
  custom: {
    50: '#e2e392',
    500: '#d2d861',
    950: '#000000',
  },
}
SCSS
$custom: #d2d861;
$custom-light: #e2e392;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d861",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 97
  },
  "hsl": {
    "h": 63.025,
    "s": 60.406,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85414,
    "c": 0.14237,
    "h": 111.7
  },
  "luminance": 0.63676
}

Semantic roles & 50–950 ramp

primary
#D2D861
secondary
#45409D
accent
#1DC826
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D861

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

Preview Lab → · Contrast checker → · Palette generator →

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