#D2DF7A#D2DF7A

#D2DF7A is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.2% C 0.127 H 115.1°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#D2DF7A
RGBrgb(210, 223, 122)
HSLhsl(68, 61%, 68%)
HSVhsv(68, 45%, 87%)
CMYKcmyk(5.8%, 0%, 45.3%, 12.5%)
CIE-LABlab(85.95, -19.07, 47.78)
CIE-LCHlch(85.95, 51.45, 111.76°)
OKLaboklab(87.22% -0.0537 0.1146)
OKLCHoklch(87.22% 0.127 115.1)
XYZxyz(56.4795, 67.8828, 28.5359)
Luminance0.6788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DF7A #877ADF
analogous
#DFBA7A #D2DF7A #9FDF7A
triadic
#D2DF7A #7AD2DF #DF7AD2
tetradic
#D2DF7A #7ADFBA #877ADF #DF7A9F
square
#D2DF7A #7ADFBA #877ADF #DF7A9F
split-complementary
#D2DF7A #7A9FDF #BA7ADF
monochromatic
#A2B32B #C1D349 #D2DF7A #E3EBAB #F3F7DD

Accessibility & contrast

On white

1.44
#D2DF7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.58
#D2DF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DF7A
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DF7A#FFFFFF#000000##000000
##D2DF7A1.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD672
Deuteranopia (green-blind)
#EBD87F
Tritanopia (blue-blind)
#DCD5C7
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d2df7a;
/* rgb */ color: rgb(210, 223, 122);
/* oklch */ color: oklch(87.2% 0.127 115.1);
Tailwind
colors: {
  custom: {
    50: '#e1e8a2',
    500: '#d2df7a',
    950: '#000000',
  },
}
SCSS
$custom: #d2df7a;
$custom-light: #e1e8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2df7a",
  "rgb": {
    "r": 210,
    "g": 223,
    "b": 122
  },
  "hsl": {
    "h": 67.723,
    "s": 61.212,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87221,
    "c": 0.12657,
    "h": 115.1
  },
  "luminance": 0.67882
}

Semantic roles & 50–950 ramp

primary
#D2DF7A
secondary
#5648B5
accent
#1DC933
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #D2DF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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