#D4DD4F#D4DD4F

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

Color values

HEX#D4DD4F
RGBrgb(212, 221, 79)
HSLhsl(64, 68%, 59%)
HSVhsv(64, 64%, 87%)
CMYKcmyk(4.1%, 0%, 64.3%, 13.3%)
CIE-LABlab(85.14, -20.75, 66.01)
CIE-LCHlch(85.14, 69.19, 107.45°)
OKLaboklab(86.47% -0.0627 0.1493)
OKLCHoklch(86.47% 0.162 112.8)
XYZxyz(54.4206, 66.2756, 17.3213)
Luminance0.6627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DD4F #584FDD
analogous
#DD9F4F #D4DD4F #8DDD4F
triadic
#D4DD4F #4FD4DD #DD4FD4
tetradic
#D4DD4F #4FDD9F #584FDD #DD4F8D
square
#D4DD4F #4FDD9F #584FDD #DD4F8D
split-complementary
#D4DD4F #4F8DDD #9F4FDD
monochromatic
#8D951D #BEC827 #D4DD4F #E1E782 #EDF1B6

Accessibility & contrast

On white

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

On black

14.25
#D4DD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DD4F
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DD4F#FFFFFF#000000##000000
##D4DD4F1.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD33C
Deuteranopia (green-blind)
#EDD659
Tritanopia (blue-blind)
#E2D0C0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d4dd4f;
/* rgb */ color: rgb(212, 221, 79);
/* oklch */ color: oklch(86.5% 0.162 112.8);
Tailwind
colors: {
  custom: {
    50: '#e4e787',
    500: '#d4dd4f',
    950: '#000000',
  },
}
SCSS
$custom: #d4dd4f;
$custom-light: #e4e787;
$custom-dark: #000000;
JSON
{
  "hex": "#d4dd4f",
  "rgb": {
    "r": 212,
    "g": 221,
    "b": 79
  },
  "hsl": {
    "h": 63.803,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.86472,
    "c": 0.1619,
    "h": 112.8
  },
  "luminance": 0.66274
}

Semantic roles & 50–950 ramp

primary
#D4DD4F
secondary
#3D3799
accent
#3DEA48
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D4DD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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