#D2DF7B#D2DF7B

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

Color values

HEX#D2DF7B
RGBrgb(210, 223, 123)
HSLhsl(68, 61%, 68%)
HSVhsv(68, 45%, 87%)
CMYKcmyk(5.8%, 0%, 44.8%, 12.5%)
CIE-LABlab(85.96, -18.97, 47.32)
CIE-LCHlch(85.96, 50.98, 111.85°)
OKLaboklab(87.24% -0.0533 0.1136)
OKLCHoklch(87.24% 0.126 115.1)
XYZxyz(56.5418, 67.9077, 28.8639)
Luminance0.6791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DF7B #887BDF
analogous
#DFBA7B #D2DF7B #A0DF7B
triadic
#D2DF7B #7BD2DF #DF7BD2
tetradic
#D2DF7B #7BDFBA #887BDF #DF7BA0
square
#D2DF7B #7BDFBA #887BDF #DF7BA0
split-complementary
#D2DF7B #7BA0DF #BA7BDF
monochromatic
#A2B42C #C1D34A #D2DF7B #E3EBAC #F4F7DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2DF7B#FFFFFF#000000##000000
##D2DF7B1.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)
#EBD673
Deuteranopia (green-blind)
#EAD880
Tritanopia (blue-blind)
#DCD5C7
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d2df7b;
/* rgb */ color: rgb(210, 223, 123);
/* oklch */ color: oklch(87.2% 0.126 115.1);
Tailwind
colors: {
  custom: {
    50: '#e1e8a3',
    500: '#d2df7b',
    950: '#000000',
  },
}
SCSS
$custom: #d2df7b;
$custom-light: #e1e8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2df7b",
  "rgb": {
    "r": 210,
    "g": 223,
    "b": 123
  },
  "hsl": {
    "h": 67.8,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87235,
    "c": 0.12553,
    "h": 115.1
  },
  "luminance": 0.67907
}

Semantic roles & 50–950 ramp

primary
#D2DF7B
secondary
#5749B5
accent
#1DC933
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #D2DF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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