#D2D76A#D2D76A

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

Color values

HEX#D2D76A
RGBrgb(210, 215, 106)
HSLhsl(63, 58%, 63%)
HSVhsv(63, 51%, 84%)
CMYKcmyk(2.3%, 0%, 50.7%, 15.7%)
CIE-LABlab(83.62, -16.62, 52.58)
CIE-LCHlch(83.62, 55.15, 107.55°)
OKLaboklab(85.3% -0.0482 0.1239)
OKLCHoklch(85.3% 0.133 111.3)
XYZxyz(53.4814, 63.3442, 23.0422)
Luminance0.6334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D76A #6F6AD7
analogous
#D7A56A #D2D76A #9CD76A
triadic
#D2D76A #6AD2D7 #D76AD2
tetradic
#D2D76A #6AD7A5 #6F6AD7 #D76A9C
square
#D2D76A #6AD7A5 #6F6AD7 #D76A9C
split-complementary
#D2D76A #6A9CD7 #A56AD7
monochromatic
#979D2A #C3CA3A #D2D76A #E1E49A #EFF1CA

Accessibility & contrast

On white

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

On black

13.67
#D2D76A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D76A
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D76A#FFFFFF#000000##000000
##D2D76A1.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF60
Deuteranopia (green-blind)
#E6D270
Tritanopia (blue-blind)
#DECCBE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d76a;
/* rgb */ color: rgb(210, 215, 106);
/* oklch */ color: oklch(85.3% 0.133 111.3);
Tailwind
colors: {
  custom: {
    50: '#e2e397',
    500: '#d2d76a',
    950: '#000000',
  },
}
SCSS
$custom: #d2d76a;
$custom-light: #e2e397;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d76a",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 106
  },
  "hsl": {
    "h": 62.752,
    "s": 57.672,
    "l": 62.941
  },
  "oklch": {
    "l": 0.85304,
    "c": 0.13293,
    "h": 111.3
  },
  "luminance": 0.63343
}

Semantic roles & 50–950 ramp

primary
#D2D76A
secondary
#4944A1
accent
#20C528
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D76A

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

Preview Lab → · Contrast checker → · Palette generator →

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