#D2D94E#D2D94E

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

Color values

HEX#D2D94E
RGBrgb(210, 217, 78)
HSLhsl(63, 65%, 58%)
HSVhsv(63, 64%, 85%)
CMYKcmyk(3.2%, 0%, 64.1%, 14.9%)
CIE-LABlab(83.90, -19.67, 65.07)
CIE-LCHlch(83.90, 67.98, 106.82°)
OKLaboklab(85.45% -0.0597 0.1472)
OKLCHoklch(85.45% 0.159 112.1)
XYZxyz(52.7678, 63.8786, 16.7564)
Luminance0.6388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D94E #554ED9
analogous
#D99B4E #D2D94E #8CD94E
triadic
#D2D94E #4ED2D9 #D94ED2
tetradic
#D2D94E #4ED99B #554ED9 #D94E8C
square
#D2D94E #4ED99B #554ED9 #D94E8C
split-complementary
#D2D94E #4E8CD9 #9B4ED9
monochromatic
#888E1F #B9C029 #D2D94E #DFE480 #ECEFB3

Accessibility & contrast

On white

1.52
#D2D94E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#D2D94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D94E
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D94E#FFFFFF#000000##000000
##D2D94E1.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF3B
Deuteranopia (green-blind)
#E9D357
Tritanopia (blue-blind)
#E0CCBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d94e;
/* rgb */ color: rgb(210, 217, 78);
/* oklch */ color: oklch(85.4% 0.159 112.1);
Tailwind
colors: {
  custom: {
    50: '#e3e486',
    500: '#d2d94e',
    950: '#000000',
  },
}
SCSS
$custom: #d2d94e;
$custom-light: #e3e486;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d94e",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 78
  },
  "hsl": {
    "h": 63.022,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.85445,
    "c": 0.15883,
    "h": 112.1
  },
  "luminance": 0.63877
}

Semantic roles & 50–950 ramp

primary
#D2D94E
secondary
#3C3894
accent
#40E849
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D94E

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

Preview Lab → · Contrast checker → · Palette generator →

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