#D2D168#D2D168

#D2D168 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.0% C 0.128 H 108.4°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#D2D168
RGBrgb(210, 209, 104)
HSLhsl(59, 54%, 62%)
HSVhsv(59, 50%, 82%)
CMYKcmyk(0%, 0.5%, 50.5%, 17.6%)
CIE-LABlab(82.00, -13.81, 51.61)
CIE-LCHlch(82.00, 53.42, 104.98°)
OKLaboklab(84.01% -0.0404 0.1216)
OKLCHoklch(84.01% 0.128 108.4)
XYZxyz(51.8787, 60.3033, 22.0009)
Luminance0.6030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D168 #6869D2
analogous
#D29C68 #D2D168 #9ED268
triadic
#D2D168 #68D2D1 #D168D2
tetradic
#D2D168 #68D29C #6869D2 #D2689E
square
#D2D168 #68D29C #6869D2 #D2689E
split-complementary
#D2D168 #689ED2 #9C68D2
monochromatic
#94932C #C3C13A #D2D168 #E0DF97 #EEEEC6

Accessibility & contrast

On white

1.61
#D2D168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.06
#D2D168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D168
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D168#FFFFFF#000000##000000
##D2D1681.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCA5E
Deuteranopia (green-blind)
#E1CE6D
Tritanopia (blue-blind)
#DFC6B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d168;
/* rgb */ color: rgb(210, 209, 104);
/* oklch */ color: oklch(84.0% 0.128 108.4);
Tailwind
colors: {
  custom: {
    50: '#e2de96',
    500: '#d2d168',
    950: '#000000',
  },
}
SCSS
$custom: #d2d168;
$custom-light: #e2de96;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d168",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 104
  },
  "hsl": {
    "h": 59.434,
    "s": 54.082,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84006,
    "c": 0.12812,
    "h": 108.4
  },
  "luminance": 0.60302
}

Semantic roles & 50–950 ramp

primary
#D2D168
secondary
#454699
accent
#25C224
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D168

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

Preview Lab → · Contrast checker → · Palette generator →

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