#D3DF40#D3DF40

#D3DF40 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 86.7% C 0.174 H 113.8°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#D3DF40
RGBrgb(211, 223, 64)
HSLhsl(65, 71%, 56%)
HSVhsv(65, 71%, 87%)
CMYKcmyk(5.4%, 0%, 71.3%, 12.5%)
CIE-LABlab(85.50, -22.94, 71.88)
CIE-LCHlch(85.50, 75.45, 107.70°)
OKLaboklab(86.72% -0.0702 0.1593)
OKLCHoklch(86.72% 0.174 113.8)
XYZxyz(54.1786, 66.9955, 14.9269)
Luminance0.6699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3DF40 #4C40DF
analogous
#DF9C40 #D3DF40 #84DF40
triadic
#D3DF40 #40D3DF #DF40D3
tetradic
#D3DF40 #40DF9C #4C40DF #DF4084
square
#D3DF40 #40DF9C #4C40DF #DF4084
split-complementary
#D3DF40 #4084DF #9C40DF
monochromatic
#848D18 #B5C120 #D3DF40 #DFE874 #EBF1A9

Accessibility & contrast

On white

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

On black

14.40
#D3DF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3DF40
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3DF40#FFFFFF#000000##000000
##D3DF401.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3df40;
/* rgb */ color: rgb(211, 223, 64);
/* oklch */ color: oklch(86.7% 0.174 113.8);
Tailwind
colors: {
  custom: {
    50: '#e4e87f',
    500: '#d3df40',
    950: '#000000',
  },
}
SCSS
$custom: #d3df40;
$custom-light: #e4e87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d3df40",
  "rgb": {
    "r": 211,
    "g": 223,
    "b": 64
  },
  "hsl": {
    "h": 64.528,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.86715,
    "c": 0.17406,
    "h": 113.8
  },
  "luminance": 0.66994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3DF40

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

Preview Lab → · Contrast checker → · Palette generator →

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