#D2D76F#D2D76F

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

Color values

HEX#D2D76F
RGBrgb(210, 215, 111)
HSLhsl(63, 57%, 64%)
HSVhsv(63, 48%, 84%)
CMYKcmyk(2.3%, 0%, 48.4%, 15.7%)
CIE-LABlab(83.68, -16.18, 50.29)
CIE-LCHlch(83.68, 52.83, 107.83°)
OKLaboklab(85.37% -0.0465 0.1193)
OKLCHoklch(85.37% 0.128 111.3)
XYZxyz(53.7490, 63.4513, 24.4517)
Luminance0.6345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D76F #746FD7
analogous
#D7A86F #D2D76F #9ED76F
triadic
#D2D76F #6FD2D7 #D76FD2
tetradic
#D2D76F #6FD7A8 #746FD7 #D76F9E
square
#D2D76F #6FD7A8 #746FD7 #D76F9E
split-complementary
#D2D76F #6F9ED7 #A86FD7
monochromatic
#9A9F2C #C3CA3F #D2D76F #E1E49F #F0F2CF

Accessibility & contrast

On white

1.53
#D2D76F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#D2D76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D76F
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D76F#FFFFFF#000000##000000
##D2D76F1.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF66
Deuteranopia (green-blind)
#E5D274
Tritanopia (blue-blind)
#DECCBF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d76f;
/* rgb */ color: rgb(210, 215, 111);
/* oklch */ color: oklch(85.4% 0.128 111.3);
Tailwind
colors: {
  custom: {
    50: '#e2e39b',
    500: '#d2d76f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d76f;
$custom-light: #e2e39b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d76f",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 111
  },
  "hsl": {
    "h": 62.885,
    "s": 56.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85367,
    "c": 0.12806,
    "h": 111.3
  },
  "luminance": 0.6345
}

Semantic roles & 50–950 ramp

primary
#D2D76F
secondary
#4B47A3
accent
#21C429
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D76F

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

Preview Lab → · Contrast checker → · Palette generator →

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