#D1DB57#D1DB57

#D1DB57 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 85.9% C 0.154 H 113.3°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#D1DB57
RGBrgb(209, 219, 87)
HSLhsl(65, 65%, 60%)
HSVhsv(65, 60%, 86%)
CMYKcmyk(4.6%, 0%, 60.3%, 14.1%)
CIE-LABlab(84.44, -20.47, 61.93)
CIE-LCHlch(84.44, 65.23, 108.29°)
OKLaboklab(85.88% -0.061 0.1418)
OKLCHoklch(85.88% 0.154 113.3)
XYZxyz(53.3476, 64.9075, 18.7331)
Luminance0.6491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DB57 #6157DB
analogous
#DBA357 #D1DB57 #8FDB57
triadic
#D1DB57 #57D1DB #DB57D1
tetradic
#D1DB57 #57DBA3 #6157DB #DB578F
square
#D1DB57 #57DBA3 #6157DB #DB578F
split-complementary
#D1DB57 #578FDB #A357DB
monochromatic
#8E9720 #BECA2B #D1DB57 #DFE689 #EDF1BC

Accessibility & contrast

On white

1.50
#D1DB57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#D1DB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DB57
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DB57#FFFFFF#000000##000000
##D1DB571.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD147
Deuteranopia (green-blind)
#EAD45F
Tritanopia (blue-blind)
#DECFBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d1db57;
/* rgb */ color: rgb(209, 219, 87);
/* oklch */ color: oklch(85.9% 0.154 113.3);
Tailwind
colors: {
  custom: {
    50: '#e2e68c',
    500: '#d1db57',
    950: '#000000',
  },
}
SCSS
$custom: #d1db57;
$custom-light: #e2e68c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1db57",
  "rgb": {
    "r": 209,
    "g": 219,
    "b": 87
  },
  "hsl": {
    "h": 64.545,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.85876,
    "c": 0.15437,
    "h": 113.3
  },
  "luminance": 0.64906
}

Semantic roles & 50–950 ramp

primary
#D1DB57
secondary
#423B9C
accent
#40E84D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1DB57

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

Preview Lab → · Contrast checker → · Palette generator →

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