#D4DF4F#D4DF4F

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

Color values

HEX#D4DF4F
RGBrgb(212, 223, 79)
HSLhsl(65, 69%, 59%)
HSVhsv(65, 65%, 87%)
CMYKcmyk(4.9%, 0%, 64.6%, 12.5%)
CIE-LABlab(85.67, -21.72, 66.56)
CIE-LCHlch(85.67, 70.02, 108.07°)
OKLaboklab(86.9% -0.0654 0.1504)
OKLCHoklch(86.9% 0.164 113.5)
XYZxyz(54.9518, 67.3380, 17.4984)
Luminance0.6734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DF4F #5A4FDF
analogous
#DFA24F #D4DF4F #8CDF4F
triadic
#D4DF4F #4FD4DF #DF4FD4
tetradic
#D4DF4F #4FDFA2 #5A4FDF #DF4F8C
square
#D4DF4F #4FDFA2 #5A4FDF #DF4F8C
split-complementary
#D4DF4F #4F8CDF #A24FDF
monochromatic
#8E981C #BFCC25 #D4DF4F #E1E883 #EDF2B7

Accessibility & contrast

On white

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

On black

14.47
#D4DF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DF4F
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DF4F#FFFFFF#000000##000000
##D4DF4F1.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53B
Deuteranopia (green-blind)
#EFD859
Tritanopia (blue-blind)
#E1D2C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d4df4f;
/* rgb */ color: rgb(212, 223, 79);
/* oklch */ color: oklch(86.9% 0.164 113.5);
Tailwind
colors: {
  custom: {
    50: '#e4e887',
    500: '#d4df4f',
    950: '#000000',
  },
}
SCSS
$custom: #d4df4f;
$custom-light: #e4e887;
$custom-dark: #000000;
JSON
{
  "hex": "#d4df4f",
  "rgb": {
    "r": 212,
    "g": 223,
    "b": 79
  },
  "hsl": {
    "h": 64.583,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86903,
    "c": 0.16405,
    "h": 113.5
  },
  "luminance": 0.67337
}

Semantic roles & 50–950 ramp

primary
#D4DF4F
secondary
#3E369C
accent
#3CEC49
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D4DF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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