#D2D76C#D2D76C

#D2D76C is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.3% C 0.131 H 111.3°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#D2D76C
RGBrgb(210, 215, 108)
HSLhsl(63, 57%, 63%)
HSVhsv(63, 50%, 84%)
CMYKcmyk(2.3%, 0%, 49.8%, 15.7%)
CIE-LABlab(83.65, -16.45, 51.67)
CIE-LCHlch(83.65, 54.23, 107.66°)
OKLaboklab(85.33% -0.0475 0.1221)
OKLCHoklch(85.33% 0.131 111.3)
XYZxyz(53.5866, 63.3863, 23.5964)
Luminance0.6339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D76C #716CD7
analogous
#D7A66C #D2D76C #9CD76C
triadic
#D2D76C #6CD2D7 #D76CD2
tetradic
#D2D76C #6CD7A6 #716CD7 #D76C9C
square
#D2D76C #6CD7A6 #716CD7 #D76C9C
split-complementary
#D2D76C #6C9CD7 #A66CD7
monochromatic
#989E2B #C3CA3C #D2D76C #E1E49C #EFF1CC

Accessibility & contrast

On white

1.54
#D2D76C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#D2D76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D76C
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D76C#FFFFFF#000000##000000
##D2D76C1.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF62
Deuteranopia (green-blind)
#E5D272
Tritanopia (blue-blind)
#DECCBF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d76c;
/* rgb */ color: rgb(210, 215, 108);
/* oklch */ color: oklch(85.3% 0.131 111.3);
Tailwind
colors: {
  custom: {
    50: '#e2e399',
    500: '#d2d76c',
    950: '#000000',
  },
}
SCSS
$custom: #d2d76c;
$custom-light: #e2e399;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d76c",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 108
  },
  "hsl": {
    "h": 62.804,
    "s": 57.219,
    "l": 63.333
  },
  "oklch": {
    "l": 0.85329,
    "c": 0.131,
    "h": 111.3
  },
  "luminance": 0.63385
}

Semantic roles & 50–950 ramp

primary
#D2D76C
secondary
#4A45A2
accent
#21C528
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D76C

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

Preview Lab → · Contrast checker → · Palette generator →

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