#DDF540#DDF540

#DDF540 is a very light, vivid yellow. Relative luminance 0.810; OKLCH L 92.2% C 0.194 H 117.1°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#DDF540
RGBrgb(221, 245, 64)
HSLhsl(68, 90%, 61%)
HSVhsv(68, 74%, 96%)
CMYKcmyk(9.8%, 0%, 73.9%, 3.9%)
CIE-LABlab(92.15, -29.31, 78.45)
CIE-LCHlch(92.15, 83.75, 110.49°)
OKLaboklab(92.23% -0.0884 0.1729)
OKLCHoklch(92.23% 0.194 117.1)
XYZxyz(63.3982, 81.0479, 17.1535)
Luminance0.8105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDF540 #5840F5
analogous
#F5B340 #DDF540 #82F540
triadic
#DDF540 #40DDF5 #F540DD
tetradic
#DDF540 #40F5B3 #5840F5 #F54082
square
#DDF540 #40F5B3 #5840F5 #F54082
split-complementary
#DDF540 #4082F5 #B340F5
monochromatic
#9BB109 #CEEB0C #DDF540 #E7F87A #F2FBB4

Accessibility & contrast

On white

1.22
#DDF540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.21
#DDF540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDF540
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDF540#FFFFFF#000000##000000
##DDF5401.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE814
Deuteranopia (green-blind)
#FFEA50
Tritanopia (blue-blind)
#EBE7D3
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ddf540;
/* rgb */ color: rgb(221, 245, 64);
/* oklch */ color: oklch(92.2% 0.194 117.1);
Tailwind
colors: {
  custom: {
    50: '#ecf882',
    500: '#ddf540',
    950: '#000000',
  },
}
SCSS
$custom: #ddf540;
$custom-light: #ecf882;
$custom-dark: #000000;
JSON
{
  "hex": "#ddf540",
  "rgb": {
    "r": 221,
    "g": 245,
    "b": 64
  },
  "hsl": {
    "h": 67.956,
    "s": 90.05,
    "l": 60.588
  },
  "oklch": {
    "l": 0.92233,
    "c": 0.19415,
    "h": 117.1
  },
  "luminance": 0.81047
}

Semantic roles & 50–950 ramp

primary
#DDF540
secondary
#3A28B1
accent
#00E61E
background
#FFFFFB
surface
#FEFEF2
border
#D6D6CC
text
#17170B
muted
#85857E

Preview Lab

Preview with #DDF540

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

Preview Lab → · Contrast checker → · Palette generator →

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