#DDF271#DDF271

#DDF271 is a very light, vivid yellow. Relative luminance 0.801; OKLCH L 92.0% C 0.156 H 117.3°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#DDF271
RGBrgb(221, 242, 113)
HSLhsl(70, 83%, 70%)
HSVhsv(70, 53%, 95%)
CMYKcmyk(8.7%, 0%, 53.3%, 5.1%)
CIE-LABlab(91.72, -24.79, 59.03)
CIE-LCHlch(91.72, 64.02, 112.78°)
OKLaboklab(92% -0.0713 0.1383)
OKLCHoklch(92% 0.156 117.3)
XYZxyz(64.5525, 80.0693, 27.6739)
Luminance0.8007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDF271 #8671F2
analogous
#F2C671 #DDF271 #9DF271
triadic
#DDF271 #71DDF2 #F271DD
tetradic
#DDF271 #71F2C6 #8671F2 #F2719D
square
#DDF271 #71F2C6 #8671F2 #F2719D
split-complementary
#DDF271 #719DF2 #C671F2
monochromatic
#B6D514 #D0ED39 #DDF271 #EAF7A9 #F8FCE1

Accessibility & contrast

On white

1.23
#DDF271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.01
#DDF271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDF271
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDF271#FFFFFF#000000##000000
##DDF2711.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE764
Deuteranopia (green-blind)
#FEE879
Tritanopia (blue-blind)
#E8E6D5
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ddf271;
/* rgb */ color: rgb(221, 242, 113);
/* oklch */ color: oklch(92.0% 0.156 117.3);
Tailwind
colors: {
  custom: {
    50: '#eaf69d',
    500: '#ddf271',
    950: '#000000',
  },
}
SCSS
$custom: #ddf271;
$custom-light: #eaf69d;
$custom-dark: #000000;
JSON
{
  "hex": "#ddf271",
  "rgb": {
    "r": 221,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 69.767,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.92,
    "c": 0.15562,
    "h": 117.3
  },
  "luminance": 0.80069
}

Semantic roles & 50–950 ramp

primary
#DDF271
secondary
#533CCB
accent
#06E029
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DDF271

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

Preview Lab → · Contrast checker → · Palette generator →

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