#D2DF57#D2DF57

#D2DF57 is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 86.8% C 0.159 H 114.3°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#D2DF57
RGBrgb(210, 223, 87)
HSLhsl(66, 68%, 61%)
HSVhsv(66, 61%, 87%)
CMYKcmyk(5.8%, 0%, 61%, 12.5%)
CIE-LABlab(85.59, -22.01, 63.20)
CIE-LCHlch(85.59, 66.92, 109.20°)
OKLaboklab(86.82% -0.0654 0.1445)
OKLCHoklch(86.82% 0.159 114.3)
XYZxyz(54.6876, 67.1660, 19.0984)
Luminance0.6716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DF57 #6457DF
analogous
#DFA857 #D2DF57 #8EDF57
triadic
#D2DF57 #57D2DF #DF57D2
tetradic
#D2DF57 #57DFA8 #6457DF #DF578E
square
#D2DF57 #57DFA8 #6457DF #DF578E
split-complementary
#D2DF57 #578EDF #A857DF
monochromatic
#919E1E #C1D128 #D2DF57 #E0E98A #EEF3BE

Accessibility & contrast

On white

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

On black

14.43
#D2DF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DF57
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DF57#FFFFFF#000000##000000
##D2DF571.001.4514.4314.43
#FFFFFF1.451.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED547
Deuteranopia (green-blind)
#EDD760
Tritanopia (blue-blind)
#DFD3C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d2df57;
/* rgb */ color: rgb(210, 223, 87);
/* oklch */ color: oklch(86.8% 0.159 114.3);
Tailwind
colors: {
  custom: {
    50: '#e3e88c',
    500: '#d2df57',
    950: '#000000',
  },
}
SCSS
$custom: #d2df57;
$custom-light: #e3e88c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2df57",
  "rgb": {
    "r": 210,
    "g": 223,
    "b": 87
  },
  "hsl": {
    "h": 65.735,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86816,
    "c": 0.15858,
    "h": 114.3
  },
  "luminance": 0.67165
}

Semantic roles & 50–950 ramp

primary
#D2DF57
secondary
#4339A1
accent
#16D027
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2DF57

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

Preview Lab → · Contrast checker → · Palette generator →

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