#D2DD4F#D2DD4F

#D2DD4F is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.3% C 0.162 H 113.6°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#D2DD4F
RGBrgb(210, 221, 79)
HSLhsl(65, 68%, 59%)
HSVhsv(65, 64%, 87%)
CMYKcmyk(5%, 0%, 64.3%, 13.3%)
CIE-LABlab(84.99, -21.56, 65.80)
CIE-LCHlch(84.99, 69.24, 108.14°)
OKLaboklab(86.32% -0.0649 0.1489)
OKLCHoklch(86.32% 0.162 113.6)
XYZxyz(53.8475, 65.9801, 17.2945)
Luminance0.6598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DD4F #5A4FDD
analogous
#DDA14F #D2DD4F #8BDD4F
triadic
#D2DD4F #4FD2DD #DD4FD2
tetradic
#D2DD4F #4FDDA1 #5A4FDD #DD4F8B
square
#D2DD4F #4FDDA1 #5A4FDD #DD4F8B
split-complementary
#D2DD4F #4F8BDD #A14FDD
monochromatic
#8C951D #BCC827 #D2DD4F #DFE782 #ECF1B6

Accessibility & contrast

On white

1.48
#D2DD4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#D2DD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DD4F
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DD4F#FFFFFF#000000##000000
##D2DD4F1.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD33C
Deuteranopia (green-blind)
#ECD659
Tritanopia (blue-blind)
#DFD0C0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d2dd4f;
/* rgb */ color: rgb(210, 221, 79);
/* oklch */ color: oklch(86.3% 0.162 113.6);
Tailwind
colors: {
  custom: {
    50: '#e3e787',
    500: '#d2dd4f',
    950: '#000000',
  },
}
SCSS
$custom: #d2dd4f;
$custom-light: #e3e787;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dd4f",
  "rgb": {
    "r": 210,
    "g": 221,
    "b": 79
  },
  "hsl": {
    "h": 64.648,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.86315,
    "c": 0.1624,
    "h": 113.6
  },
  "luminance": 0.65979
}

Semantic roles & 50–950 ramp

primary
#D2DD4F
secondary
#3E3799
accent
#3DEA4B
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2DD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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