#D6DF40#D6DF40

#D6DF40 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.0% C 0.173 H 112.7°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#D6DF40
RGBrgb(214, 223, 64)
HSLhsl(63, 71%, 56%)
HSVhsv(63, 71%, 87%)
CMYKcmyk(4%, 0%, 71.3%, 12.5%)
CIE-LABlab(85.73, -21.71, 72.17)
CIE-LCHlch(85.73, 75.37, 106.74°)
OKLaboklab(86.95% -0.0669 0.1598)
OKLCHoklch(86.95% 0.173 112.7)
XYZxyz(55.0464, 67.4429, 14.9676)
Luminance0.6744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6DF40 #4940DF
analogous
#DF9940 #D6DF40 #87DF40
triadic
#D6DF40 #40D6DF #DF40D6
tetradic
#D6DF40 #40DF99 #4940DF #DF4087
square
#D6DF40 #40DF99 #4940DF #DF4087
split-complementary
#D6DF40 #4087DF #9940DF
monochromatic
#868D18 #B8C120 #D6DF40 #E1E874 #EDF1A9

Accessibility & contrast

On white

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

On black

14.49
#D6DF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6DF40
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6DF40#FFFFFF#000000##000000
##D6DF401.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D522
Deuteranopia (green-blind)
#F0D84D
Tritanopia (blue-blind)
#E4D2C0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d6df40;
/* rgb */ color: rgb(214, 223, 64);
/* oklch */ color: oklch(87.0% 0.173 112.7);
Tailwind
colors: {
  custom: {
    50: '#e6e87f',
    500: '#d6df40',
    950: '#000000',
  },
}
SCSS
$custom: #d6df40;
$custom-light: #e6e87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d6df40",
  "rgb": {
    "r": 214,
    "g": 223,
    "b": 64
  },
  "hsl": {
    "h": 63.396,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.86951,
    "c": 0.17326,
    "h": 112.7
  },
  "luminance": 0.67442
}

Semantic roles & 50–950 ramp

primary
#D6DF40
secondary
#363192
accent
#3AEE44
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D6DF40

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

Preview Lab → · Contrast checker → · Palette generator →

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