#D2D84C#D2D84C

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

Color values

HEX#D2D84C
RGBrgb(210, 216, 76)
HSLhsl(63, 64%, 57%)
HSVhsv(63, 65%, 85%)
CMYKcmyk(2.8%, 0%, 64.8%, 15.3%)
CIE-LABlab(83.62, -19.30, 65.56)
CIE-LCHlch(83.62, 68.35, 106.41°)
OKLaboklab(85.21% -0.0589 0.1479)
OKLCHoklch(85.21% 0.159 111.7)
XYZxyz(52.4403, 63.3364, 16.2988)
Luminance0.6333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D84C #524CD8
analogous
#D8984C #D2D84C #8CD84C
triadic
#D2D84C #4CD2D8 #D84CD2
tetradic
#D2D84C #4CD898 #524CD8 #D84C8C
square
#D2D84C #4CD898 #524CD8 #D84C8C
split-complementary
#D2D84C #4C8CD8 #984CD8
monochromatic
#878B1E #B7BE29 #D2D84C #DFE37E #EBEEB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D84C#FFFFFF#000000##000000
##D2D84C1.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)
#E8CF39
Deuteranopia (green-blind)
#E9D255
Tritanopia (blue-blind)
#E0CBBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d84c;
/* rgb */ color: rgb(210, 216, 76);
/* oklch */ color: oklch(85.2% 0.159 111.7);
Tailwind
colors: {
  custom: {
    50: '#e3e385',
    500: '#d2d84c',
    950: '#000000',
  },
}
SCSS
$custom: #d2d84c;
$custom-light: #e3e385;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d84c",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 76
  },
  "hsl": {
    "h": 62.571,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.85214,
    "c": 0.1592,
    "h": 111.7
  },
  "luminance": 0.63335
}

Semantic roles & 50–950 ramp

primary
#D2D84C
secondary
#3B3791
accent
#41E748
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D84C

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

Preview Lab → · Contrast checker → · Palette generator →

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