#D4DF4A#D4DF4A

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

Color values

HEX#D4DF4A
RGBrgb(212, 223, 74)
HSLhsl(64, 70%, 58%)
HSVhsv(64, 67%, 87%)
CMYKcmyk(4.9%, 0%, 66.8%, 12.5%)
CIE-LABlab(85.64, -22.01, 68.45)
CIE-LCHlch(85.64, 71.90, 107.82°)
OKLaboklab(86.86% -0.0667 0.1536)
OKLCHoklch(86.86% 0.168 113.5)
XYZxyz(54.7766, 67.2679, 16.5757)
Luminance0.6727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DF4A #554ADF
analogous
#DFA04A #D4DF4A #89DF4A
triadic
#D4DF4A #4AD4DF #DF4AD4
tetradic
#D4DF4A #4ADFA0 #554ADF #DF4A89
square
#D4DF4A #4ADFA0 #554ADF #DF4A89
split-complementary
#D4DF4A #4A89DF #A04ADF
monochromatic
#8B941A #BCC823 #D4DF4A #E0E87E #EDF1B2

Accessibility & contrast

On white

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

On black

14.45
#D4DF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DF4A
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DF4A#FFFFFF#000000##000000
##D4DF4A1.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD534
Deuteranopia (green-blind)
#EFD855
Tritanopia (blue-blind)
#E2D2C1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d4df4a;
/* rgb */ color: rgb(212, 223, 74);
/* oklch */ color: oklch(86.9% 0.168 113.5);
Tailwind
colors: {
  custom: {
    50: '#e5e885',
    500: '#d4df4a',
    950: '#000000',
  },
}
SCSS
$custom: #d4df4a;
$custom-light: #e5e885;
$custom-dark: #000000;
JSON
{
  "hex": "#d4df4a",
  "rgb": {
    "r": 212,
    "g": 223,
    "b": 74
  },
  "hsl": {
    "h": 64.43,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.86863,
    "c": 0.16751,
    "h": 113.5
  },
  "luminance": 0.67267
}

Semantic roles & 50–950 ramp

primary
#D4DF4A
secondary
#3C3499
accent
#3BED48
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16160C
muted
#84847F

Preview Lab

Preview with #D4DF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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