#D2D94C#D2D94C

#D2D94C is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.4% C 0.160 H 112.1°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#D2D94C
RGBrgb(210, 217, 76)
HSLhsl(63, 65%, 57%)
HSVhsv(63, 65%, 85%)
CMYKcmyk(3.2%, 0%, 65%, 14.9%)
CIE-LABlab(83.89, -19.79, 65.84)
CIE-LCHlch(83.89, 68.75, 106.73°)
OKLaboklab(85.43% -0.0602 0.1485)
OKLCHoklch(85.43% 0.16 112.1)
XYZxyz(52.6972, 63.8504, 16.3845)
Luminance0.6385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D94C #534CD9
analogous
#D99A4C #D2D94C #8BD94C
triadic
#D2D94C #4CD2D9 #D94CD2
tetradic
#D2D94C #4CD99A #534CD9 #D94C8B
square
#D2D94C #4CD99A #534CD9 #D94C8B
split-complementary
#D2D94C #4C8BD9 #9A4CD9
monochromatic
#878D1E #B8BF29 #D2D94C #DFE47E #EBEEB1

Accessibility & contrast

On white

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

On black

13.77
#D2D94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D94C
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D94C#FFFFFF#000000##000000
##D2D94C1.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF38
Deuteranopia (green-blind)
#E9D356
Tritanopia (blue-blind)
#E0CCBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d94c;
/* rgb */ color: rgb(210, 217, 76);
/* oklch */ color: oklch(85.4% 0.160 112.1);
Tailwind
colors: {
  custom: {
    50: '#e3e485',
    500: '#d2d94c',
    950: '#000000',
  },
}
SCSS
$custom: #d2d94c;
$custom-light: #e3e485;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d94c",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 76
  },
  "hsl": {
    "h": 62.979,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.85429,
    "c": 0.16026,
    "h": 112.1
  },
  "luminance": 0.63849
}

Semantic roles & 50–950 ramp

primary
#D2D94C
secondary
#3B3792
accent
#40E848
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D94C

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

Preview Lab → · Contrast checker → · Palette generator →

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