#D2DF5F#D2DF5F

#D2DF5F is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 86.9% C 0.152 H 114.5°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#D2DF5F
RGBrgb(210, 223, 95)
HSLhsl(66, 67%, 62%)
HSVhsv(66, 57%, 87%)
CMYKcmyk(5.8%, 0%, 57.4%, 12.5%)
CIE-LABlab(85.66, -21.44, 59.87)
CIE-LCHlch(85.66, 63.59, 109.70°)
OKLaboklab(86.89% -0.063 0.1384)
OKLCHoklch(86.89% 0.152 114.5)
XYZxyz(55.0327, 67.3041, 20.9162)
Luminance0.6730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DF5F #6C5FDF
analogous
#DFAC5F #D2DF5F #92DF5F
triadic
#D2DF5F #5FD2DF #DF5FD2
tetradic
#D2DF5F #5FDFAC #6C5FDF #DF5F92
square
#D2DF5F #5FDFAC #6C5FDF #DF5F92
split-complementary
#D2DF5F #5F92DF #AC5FDF
monochromatic
#96A321 #C4D52C #D2DF5F #E0E992 #EFF3C5

Accessibility & contrast

On white

1.45
#D2DF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.46
#D2DF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DF5F
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DF5F#FFFFFF#000000##000000
##D2DF5F1.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED551
Deuteranopia (green-blind)
#EDD767
Tritanopia (blue-blind)
#DED3C3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d2df5f;
/* rgb */ color: rgb(210, 223, 95);
/* oklch */ color: oklch(86.9% 0.152 114.5);
Tailwind
colors: {
  custom: {
    50: '#e2e891',
    500: '#d2df5f',
    950: '#000000',
  },
}
SCSS
$custom: #d2df5f;
$custom-light: #e2e891;
$custom-dark: #000000;
JSON
{
  "hex": "#d2df5f",
  "rgb": {
    "r": 210,
    "g": 223,
    "b": 95
  },
  "hsl": {
    "h": 66.094,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.86894,
    "c": 0.15206,
    "h": 114.5
  },
  "luminance": 0.67303
}

Semantic roles & 50–950 ramp

primary
#D2DF5F
secondary
#473CA6
accent
#17CF2A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D2DF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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