#D2D84D#D2D84D

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

Color values

HEX#D2D84D
RGBrgb(210, 216, 77)
HSLhsl(63, 64%, 57%)
HSVhsv(63, 64%, 85%)
CMYKcmyk(2.8%, 0%, 64.4%, 15.3%)
CIE-LABlab(83.63, -19.24, 65.18)
CIE-LCHlch(83.63, 67.96, 106.45°)
OKLaboklab(85.22% -0.0586 0.1473)
OKLCHoklch(85.22% 0.158 111.7)
XYZxyz(52.4753, 63.3504, 16.4833)
Luminance0.6335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D84D #534DD8
analogous
#D8994D #D2D84D #8CD84D
triadic
#D2D84D #4DD2D8 #D84DD2
tetradic
#D2D84D #4DD899 #534DD8 #D84D8C
square
#D2D84D #4DD899 #534DD8 #D84D8C
split-complementary
#D2D84D #4D8CD8 #994DD8
monochromatic
#878C1F #B8BE2A #D2D84D #DFE37F #EBEEB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D84D#FFFFFF#000000##000000
##D2D84D1.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)
#E8CF3A
Deuteranopia (green-blind)
#E8D256
Tritanopia (blue-blind)
#E0CBBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d84d;
/* rgb */ color: rgb(210, 216, 77);
/* oklch */ color: oklch(85.2% 0.158 111.7);
Tailwind
colors: {
  custom: {
    50: '#e3e386',
    500: '#d2d84d',
    950: '#000000',
  },
}
SCSS
$custom: #d2d84d;
$custom-light: #e3e386;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d84d",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 77
  },
  "hsl": {
    "h": 62.59,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.85222,
    "c": 0.15849,
    "h": 111.7
  },
  "luminance": 0.63349
}

Semantic roles & 50–950 ramp

primary
#D2D84D
secondary
#3B3792
accent
#41E748
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D84D

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

Preview Lab → · Contrast checker → · Palette generator →

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