#D2D975#D2D975

#D2D975 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 85.9% C 0.124 H 112.3°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#D2D975
RGBrgb(210, 217, 117)
HSLhsl(64, 57%, 65%)
HSVhsv(64, 46%, 85%)
CMYKcmyk(3.2%, 0%, 46.1%, 14.9%)
CIE-LABlab(84.28, -16.61, 48.16)
CIE-LCHlch(84.28, 50.94, 109.03°)
OKLaboklab(85.87% -0.0471 0.1151)
OKLCHoklch(85.87% 0.124 112.3)
XYZxyz(54.6029, 64.6126, 26.4212)
Luminance0.6461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D975 #7C75D9
analogous
#D9AE75 #D2D975 #A0D975
triadic
#D2D975 #75D2D9 #D975D2
tetradic
#D2D975 #75D9AE #7C75D9 #D975A0
square
#D2D975 #75D9AE #7C75D9 #D975A0
split-complementary
#D2D975 #75A0D9 #AE75D9
monochromatic
#9DA62E #C2CC45 #D2D975 #E2E6A5 #F1F3D5

Accessibility & contrast

On white

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

On black

13.92
#D2D975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D975
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D975#FFFFFF#000000##000000
##D2D9751.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D16C
Deuteranopia (green-blind)
#E6D47A
Tritanopia (blue-blind)
#DDCFC2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d2d975;
/* rgb */ color: rgb(210, 217, 117);
/* oklch */ color: oklch(85.9% 0.124 112.3);
Tailwind
colors: {
  custom: {
    50: '#e1e49f',
    500: '#d2d975',
    950: '#000000',
  },
}
SCSS
$custom: #d2d975;
$custom-light: #e1e49f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d975",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 117
  },
  "hsl": {
    "h": 64.2,
    "s": 56.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.85873,
    "c": 0.12436,
    "h": 112.3
  },
  "luminance": 0.64612
}

Semantic roles & 50–950 ramp

primary
#D2D975
secondary
#5049A9
accent
#21C42D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2D975

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

Preview Lab → · Contrast checker → · Palette generator →

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