#D2D94D#D2D94D

#D2D94D is a very light, vivid yellow. Relative luminance 0.639; 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#D2D94D
RGBrgb(210, 217, 77)
HSLhsl(63, 65%, 58%)
HSVhsv(63, 65%, 85%)
CMYKcmyk(3.2%, 0%, 64.5%, 14.9%)
CIE-LABlab(83.90, -19.73, 65.46)
CIE-LCHlch(83.90, 68.37, 106.78°)
OKLaboklab(85.44% -0.06 0.1479)
OKLCHoklch(85.44% 0.16 112.1)
XYZxyz(52.7323, 63.8644, 16.5690)
Luminance0.6386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D94D #544DD9
analogous
#D99A4D #D2D94D #8CD94D
triadic
#D2D94D #4DD2D9 #D94DD2
tetradic
#D2D94D #4DD99A #544DD9 #D94D8C
square
#D2D94D #4DD99A #544DD9 #D94D8C
split-complementary
#D2D94D #4D8CD9 #9A4DD9
monochromatic
#888D1E #B8C029 #D2D94D #DFE47F #ECEFB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D94D#FFFFFF#000000##000000
##D2D94D1.001.5213.7713.77
#FFFFFF1.521.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d94d;
/* rgb */ color: rgb(210, 217, 77);
/* oklch */ color: oklch(85.4% 0.160 112.1);
Tailwind
colors: {
  custom: {
    50: '#e3e486',
    500: '#d2d94d',
    950: '#000000',
  },
}
SCSS
$custom: #d2d94d;
$custom-light: #e3e486;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d94d",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 77
  },
  "hsl": {
    "h": 63,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.85437,
    "c": 0.15955,
    "h": 112.1
  },
  "luminance": 0.63863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2D94D

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

Preview Lab → · Contrast checker → · Palette generator →

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