#D4DD57#D4DD57

#D4DD57 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 86.5% C 0.156 H 112.8°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#D4DD57
RGBrgb(212, 221, 87)
HSLhsl(64, 66%, 60%)
HSVhsv(64, 61%, 87%)
CMYKcmyk(4.1%, 0%, 60.6%, 13.3%)
CIE-LABlab(85.20, -20.23, 62.82)
CIE-LCHlch(85.20, 66.00, 107.85°)
OKLaboklab(86.54% -0.0605 0.1436)
OKLCHoklch(86.54% 0.156 112.8)
XYZxyz(54.7295, 66.3992, 18.9482)
Luminance0.6640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DD57 #6057DD
analogous
#DDA357 #D4DD57 #91DD57
triadic
#D4DD57 #57D4DD #DD57D4
tetradic
#D4DD57 #57DDA3 #6057DD #DD5791
square
#D4DD57 #57DDA3 #6057DD #DD5791
split-complementary
#D4DD57 #5791DD #A357DD
monochromatic
#929A1F #C2CD2A #D4DD57 #E1E78A #EEF2BD

Accessibility & contrast

On white

1.47
#D4DD57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.28
#D4DD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DD57
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DD57#FFFFFF#000000##000000
##D4DD571.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD347
Deuteranopia (green-blind)
#ECD65F
Tritanopia (blue-blind)
#E1D1C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d4dd57;
/* rgb */ color: rgb(212, 221, 87);
/* oklch */ color: oklch(86.5% 0.156 112.8);
Tailwind
colors: {
  custom: {
    50: '#e4e78c',
    500: '#d4dd57',
    950: '#000000',
  },
}
SCSS
$custom: #d4dd57;
$custom-light: #e4e78c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4dd57",
  "rgb": {
    "r": 212,
    "g": 221,
    "b": 87
  },
  "hsl": {
    "h": 64.03,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.86543,
    "c": 0.15585,
    "h": 112.8
  },
  "luminance": 0.66398
}

Semantic roles & 50–950 ramp

primary
#D4DD57
secondary
#413A9E
accent
#17CE24
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D4DD57

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

Preview Lab → · Contrast checker → · Palette generator →

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