#D2D96E#D2D96E

#D2D96E is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 85.8% C 0.131 H 112.2°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#D2D96E
RGBrgb(210, 217, 110)
HSLhsl(64, 58%, 64%)
HSVhsv(64, 49%, 85%)
CMYKcmyk(3.2%, 0%, 49.3%, 14.9%)
CIE-LABlab(84.20, -17.26, 51.39)
CIE-LCHlch(84.20, 54.21, 108.57°)
OKLaboklab(85.78% -0.0496 0.1216)
OKLCHoklch(85.78% 0.131 112.2)
XYZxyz(54.2067, 64.4541, 24.3342)
Luminance0.6445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D96E #756ED9
analogous
#D9AB6E #D2D96E #9DD96E
triadic
#D2D96E #6ED2D9 #D96ED2
tetradic
#D2D96E #6ED9AB #756ED9 #D96E9D
square
#D2D96E #6ED9AB #756ED9 #D96E9D
split-complementary
#D2D96E #6E9DD9 #AB6ED9
monochromatic
#9AA22A #C3CC3E #D2D96E #E1E69E #F0F2CF

Accessibility & contrast

On white

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

On black

13.89
#D2D96E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D96E
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D96E#FFFFFF#000000##000000
##D2D96E1.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d96e;
/* rgb */ color: rgb(210, 217, 110);
/* oklch */ color: oklch(85.8% 0.131 112.2);
Tailwind
colors: {
  custom: {
    50: '#e2e49a',
    500: '#d2d96e',
    950: '#000000',
  },
}
SCSS
$custom: #d2d96e;
$custom-light: #e2e49a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d96e",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 110
  },
  "hsl": {
    "h": 63.925,
    "s": 58.47,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8578,
    "c": 0.13138,
    "h": 112.2
  },
  "luminance": 0.64453
}

Semantic roles & 50–950 ramp

primary
#D2D96E
secondary
#4C45A6
accent
#1FC62A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D96E

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

Preview Lab → · Contrast checker → · Palette generator →

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