#D2DF7C#D2DF7C

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

Color values

HEX#D2DF7C
RGBrgb(210, 223, 124)
HSLhsl(68, 61%, 68%)
HSVhsv(68, 44%, 87%)
CMYKcmyk(5.8%, 0%, 44.4%, 12.5%)
CIE-LABlab(85.97, -18.87, 46.85)
CIE-LCHlch(85.97, 50.50, 111.94°)
OKLaboklab(87.25% -0.0529 0.1127)
OKLCHoklch(87.25% 0.124 115.2)
XYZxyz(56.6047, 67.9329, 29.1953)
Luminance0.6793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DF7C #897CDF
analogous
#DFBA7C #D2DF7C #A0DF7C
triadic
#D2DF7C #7CD2DF #DF7CD2
tetradic
#D2DF7C #7CDFBA #897CDF #DF7CA0
square
#D2DF7C #7CDFBA #897CDF #DF7CA0
split-complementary
#D2DF7C #7CA0DF #BA7CDF
monochromatic
#A3B52C #C1D34B #D2DF7C #E3EBAD #F4F7DE

Accessibility & contrast

On white

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

On black

14.59
#D2DF7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DF7C
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DF7C#FFFFFF#000000##000000
##D2DF7C1.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD674
Deuteranopia (green-blind)
#EAD881
Tritanopia (blue-blind)
#DCD5C8
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d2df7c;
/* rgb */ color: rgb(210, 223, 124);
/* oklch */ color: oklch(87.2% 0.124 115.2);
Tailwind
colors: {
  custom: {
    50: '#e1e8a4',
    500: '#d2df7c',
    950: '#000000',
  },
}
SCSS
$custom: #d2df7c;
$custom-light: #e1e8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2df7c",
  "rgb": {
    "r": 210,
    "g": 223,
    "b": 124
  },
  "hsl": {
    "h": 67.879,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.87249,
    "c": 0.12449,
    "h": 115.2
  },
  "luminance": 0.67932
}

Semantic roles & 50–950 ramp

primary
#D2DF7C
secondary
#5849B6
accent
#1DC834
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #D2DF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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