#D2D84E#D2D84E

#D2D84E is a very light, vivid yellow. Relative luminance 0.634; 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#D2D84E
RGBrgb(210, 216, 78)
HSLhsl(63, 64%, 58%)
HSVhsv(63, 64%, 85%)
CMYKcmyk(2.8%, 0%, 63.9%, 15.3%)
CIE-LABlab(83.63, -19.18, 64.79)
CIE-LCHlch(83.63, 67.57, 106.49°)
OKLaboklab(85.23% -0.0583 0.1466)
OKLCHoklch(85.23% 0.158 111.7)
XYZxyz(52.5109, 63.3647, 16.6707)
Luminance0.6336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D84E #544ED8
analogous
#D8994E #D2D84E #8DD84E
triadic
#D2D84E #4ED2D8 #D84ED2
tetradic
#D2D84E #4ED899 #544ED8 #D84E8D
square
#D2D84E #4ED899 #544ED8 #D84E8D
split-complementary
#D2D84E #4E8DD8 #994ED8
monochromatic
#888D1F #B8BF2A #D2D84E #DFE380 #EBEEB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D84E#FFFFFF#000000##000000
##D2D84E1.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)
#E8CF3C
Deuteranopia (green-blind)
#E8D257
Tritanopia (blue-blind)
#E0CBBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d84e;
/* rgb */ color: rgb(210, 216, 78);
/* oklch */ color: oklch(85.2% 0.158 111.7);
Tailwind
colors: {
  custom: {
    50: '#e3e386',
    500: '#d2d84e',
    950: '#000000',
  },
}
SCSS
$custom: #d2d84e;
$custom-light: #e3e386;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d84e",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 78
  },
  "hsl": {
    "h": 62.609,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8523,
    "c": 0.15777,
    "h": 111.7
  },
  "luminance": 0.63363
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2D84E

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

Preview Lab → · Contrast checker → · Palette generator →

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