#DDDF40#DDDF40

#DDDF40 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.5% C 0.172 H 110.2°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#DDDF40
RGBrgb(221, 223, 64)
HSLhsl(61, 71%, 56%)
HSVhsv(61, 71%, 87%)
CMYKcmyk(0.9%, 0%, 71.3%, 12.5%)
CIE-LABlab(86.27, -18.82, 72.88)
CIE-LCHlch(86.27, 75.27, 104.48°)
OKLaboklab(87.51% -0.0593 0.1611)
OKLCHoklch(87.51% 0.172 110.2)
XYZxyz(57.1339, 68.5193, 15.0654)
Luminance0.6852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDDF40 #4240DF
analogous
#DF9240 #DDDF40 #8EDF40
triadic
#DDDF40 #40DDDF #DF40DD
tetradic
#DDDF40 #40DF92 #4240DF #DF408E
square
#DDDF40 #40DF92 #4240DF #DF408E
split-complementary
#DDDF40 #408EDF #9240DF
monochromatic
#8C8D18 #BFC120 #DDDF40 #E6E874 #F0F1A9

Accessibility & contrast

On white

1.43
#DDDF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.70
#DDDF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDDF40
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDDF40#FFFFFF#000000##000000
##DDDF401.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D522
Deuteranopia (green-blind)
#F2DA4C
Tritanopia (blue-blind)
#ECD1C0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dddf40;
/* rgb */ color: rgb(221, 223, 64);
/* oklch */ color: oklch(87.5% 0.172 110.2);
Tailwind
colors: {
  custom: {
    50: '#ebe87f',
    500: '#dddf40',
    950: '#000000',
  },
}
SCSS
$custom: #dddf40;
$custom-light: #ebe87f;
$custom-dark: #000000;
JSON
{
  "hex": "#dddf40",
  "rgb": {
    "r": 221,
    "g": 223,
    "b": 64
  },
  "hsl": {
    "h": 60.755,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.87514,
    "c": 0.17163,
    "h": 110.2
  },
  "luminance": 0.68518
}

Semantic roles & 50–950 ramp

primary
#DDDF40
secondary
#323192
accent
#3AEE3C
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #DDDF40

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

Preview Lab → · Contrast checker → · Palette generator →

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