#D2D968#D2D968

#D2D968 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.7% C 0.137 H 112.2°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#D2D968
RGBrgb(210, 217, 104)
HSLhsl(64, 60%, 63%)
HSVhsv(64, 52%, 85%)
CMYKcmyk(3.2%, 0%, 52.1%, 14.9%)
CIE-LABlab(84.14, -17.78, 54.11)
CIE-LCHlch(84.14, 56.95, 108.20°)
OKLaboklab(85.71% -0.0517 0.127)
OKLCHoklch(85.71% 0.137 112.2)
XYZxyz(53.8910, 64.3279, 22.6716)
Luminance0.6433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D968 #6F68D9
analogous
#D9A768 #D2D968 #99D968
triadic
#D2D968 #68D2D9 #D968D2
tetradic
#D2D968 #68D9A7 #6F68D9 #D96899
square
#D2D968 #68D9A7 #6F68D9 #D96899
split-complementary
#D2D968 #6899D9 #A768D9
monochromatic
#979F28 #C3CD37 #D2D968 #E1E599 #EFF2CA

Accessibility & contrast

On white

1.51
#D2D968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#D2D968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D968
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D968#FFFFFF#000000##000000
##D2D9681.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D05D
Deuteranopia (green-blind)
#E7D36E
Tritanopia (blue-blind)
#DECEC0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d2d968;
/* rgb */ color: rgb(210, 217, 104);
/* oklch */ color: oklch(85.7% 0.137 112.2);
Tailwind
colors: {
  custom: {
    50: '#e2e496',
    500: '#d2d968',
    950: '#000000',
  },
}
SCSS
$custom: #d2d968;
$custom-light: #e2e496;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d968",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 63.717,
    "s": 59.788,
    "l": 62.941
  },
  "oklch": {
    "l": 0.85707,
    "c": 0.13712,
    "h": 112.2
  },
  "luminance": 0.64327
}

Semantic roles & 50–950 ramp

primary
#D2D968
secondary
#4943A3
accent
#1EC729
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D968

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

Preview Lab → · Contrast checker → · Palette generator →

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