#D4DF40#D4DF40

#D4DF40 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 86.8% C 0.174 H 113.4°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#D4DF40
RGBrgb(212, 223, 64)
HSLhsl(64, 71%, 56%)
HSVhsv(64, 71%, 87%)
CMYKcmyk(4.9%, 0%, 71.3%, 12.5%)
CIE-LABlab(85.58, -22.53, 71.98)
CIE-LCHlch(85.58, 75.42, 107.38°)
OKLaboklab(86.79% -0.0691 0.1595)
OKLCHoklch(86.79% 0.174 113.4)
XYZxyz(54.4661, 67.1437, 14.9404)
Luminance0.6714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DF40 #4B40DF
analogous
#DF9B40 #D4DF40 #85DF40
triadic
#D4DF40 #40D4DF #DF40D4
tetradic
#D4DF40 #40DF9B #4B40DF #DF4085
square
#D4DF40 #40DF9B #4B40DF #DF4085
split-complementary
#D4DF40 #4085DF #9B40DF
monochromatic
#858D18 #B6C120 #D4DF40 #E0E874 #ECF1A9

Accessibility & contrast

On white

1.46
#D4DF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#D4DF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DF40
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DF40#FFFFFF#000000##000000
##D4DF401.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD422
Deuteranopia (green-blind)
#EFD74D
Tritanopia (blue-blind)
#E2D2C0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d4df40;
/* rgb */ color: rgb(212, 223, 64);
/* oklch */ color: oklch(86.8% 0.174 113.4);
Tailwind
colors: {
  custom: {
    50: '#e5e87f',
    500: '#d4df40',
    950: '#000000',
  },
}
SCSS
$custom: #d4df40;
$custom-light: #e5e87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4df40",
  "rgb": {
    "r": 212,
    "g": 223,
    "b": 64
  },
  "hsl": {
    "h": 64.151,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.86793,
    "c": 0.1738,
    "h": 113.4
  },
  "luminance": 0.67143
}

Semantic roles & 50–950 ramp

primary
#D4DF40
secondary
#383192
accent
#3AEE46
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D4DF40

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

Preview Lab → · Contrast checker → · Palette generator →

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