#DDF257#DDF257

#DDF257 is a very light, vivid yellow. Relative luminance 0.796; OKLCH L 91.7% C 0.177 H 116.6°. Best body text is #000000 at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#DDF257
RGBrgb(221, 242, 87)
HSLhsl(68, 86%, 65%)
HSVhsv(68, 64%, 95%)
CMYKcmyk(8.7%, 0%, 64%, 5.1%)
CIE-LABlab(91.49, -26.69, 69.70)
CIE-LCHlch(91.49, 74.64, 110.95°)
OKLaboklab(91.75% -0.0791 0.158)
OKLCHoklch(91.75% 0.177 116.6)
XYZxyz(63.2926, 79.5653, 21.0384)
Luminance0.7956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDF257 #6C57F2
analogous
#F2BA57 #DDF257 #90F257
triadic
#DDF257 #57DDF2 #F257DD
tetradic
#DDF257 #57F2BA #6C57F2 #F25790
square
#DDF257 #57F2BA #6C57F2 #F25790
split-complementary
#DDF257 #5790F2 #BA57F2
monochromatic
#A8C00F #D2EE1E #DDF257 #E8F690 #F4FBC9

Accessibility & contrast

On white

1.24
#DDF257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.91
#DDF257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDF257
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDF257#FFFFFF#000000##000000
##DDF2571.001.2416.9116.91
#FFFFFF1.241.0021.0021.00
#00000016.9121.001.001.00
##00000016.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE642
Deuteranopia (green-blind)
#FFE862
Tritanopia (blue-blind)
#EAE5D2
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ddf257;
/* rgb */ color: rgb(221, 242, 87);
/* oklch */ color: oklch(91.7% 0.177 116.6);
Tailwind
colors: {
  custom: {
    50: '#ebf68e',
    500: '#ddf257',
    950: '#000000',
  },
}
SCSS
$custom: #ddf257;
$custom-light: #ebf68e;
$custom-dark: #000000;
JSON
{
  "hex": "#ddf257",
  "rgb": {
    "r": 221,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 68.129,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91745,
    "c": 0.17668,
    "h": 116.6
  },
  "luminance": 0.79565
}

Semantic roles & 50–950 ramp

primary
#DDF257
secondary
#4330BE
accent
#03E222
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DDF257

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

Preview Lab → · Contrast checker → · Palette generator →

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