#DDF562#DDF562

#DDF562 is a very light, vivid yellow. Relative luminance 0.816; OKLCH L 92.5% C 0.172 H 117.7°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#DDF562
RGBrgb(221, 245, 98)
HSLhsl(70, 88%, 67%)
HSVhsv(70, 60%, 96%)
CMYKcmyk(9.8%, 0%, 60%, 3.9%)
CIE-LABlab(92.38, -27.37, 66.24)
CIE-LCHlch(92.38, 71.67, 112.45°)
OKLaboklab(92.49% -0.0799 0.1521)
OKLCHoklch(92.49% 0.172 117.7)
XYZxyz(64.6769, 81.5594, 23.8883)
Luminance0.8156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDF562 #7A62F5
analogous
#F5C462 #DDF562 #94F562
triadic
#DDF562 #62DDF5 #F562DD
tetradic
#DDF562 #62F5C4 #7A62F5 #F56294
square
#DDF562 #62F5C4 #7A62F5 #F56294
split-complementary
#DDF562 #6294F5 #C462F5
monochromatic
#B0CF0D #D1F128 #DDF562 #E9F99C #F6FCD5

Accessibility & contrast

On white

1.21
#DDF562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#DDF562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDF562
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDF562#FFFFFF#000000##000000
##DDF5621.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE951
Deuteranopia (green-blind)
#FFEA6C
Tritanopia (blue-blind)
#E9E9D6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ddf562;
/* rgb */ color: rgb(221, 245, 98);
/* oklch */ color: oklch(92.5% 0.172 117.7);
Tailwind
colors: {
  custom: {
    50: '#eaf894',
    500: '#ddf562',
    950: '#000000',
  },
}
SCSS
$custom: #ddf562;
$custom-light: #eaf894;
$custom-dark: #000000;
JSON
{
  "hex": "#ddf562",
  "rgb": {
    "r": 221,
    "g": 245,
    "b": 98
  },
  "hsl": {
    "h": 69.796,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.92488,
    "c": 0.17183,
    "h": 117.7
  },
  "luminance": 0.81559
}

Semantic roles & 50–950 ramp

primary
#DDF562
secondary
#4930CB
accent
#01E526
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #DDF562

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

Preview Lab → · Contrast checker → · Palette generator →

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