#DDEC7F#DDEC7F

#DDEC7F is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 90.9% C 0.135 H 115.6°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#DDEC7F
RGBrgb(221, 236, 127)
HSLhsl(68, 74%, 71%)
HSVhsv(68, 46%, 93%)
CMYKcmyk(6.4%, 0%, 46.2%, 7.5%)
CIE-LABlab(90.27, -20.64, 50.87)
CIE-LCHlch(90.27, 54.89, 112.09°)
OKLaboklab(90.9% -0.0583 0.1217)
OKLCHoklch(90.9% 0.135 115.6)
XYZxyz(63.6458, 76.8961, 31.5641)
Luminance0.7690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDEC7F #8E7FEC
analogous
#ECC47F #DDEC7F #A6EC7F
triadic
#DDEC7F #7FDDEC #EC7FDD
tetradic
#DDEC7F #7FECC4 #8E7FEC #EC7FA6
square
#DDEC7F #7FECC4 #8E7FEC #EC7FA6
split-complementary
#DDEC7F #7FA6EC #C47FEC
monochromatic
#B9D21F #CFE44A #DDEC7F #EBF4B4 #F8FBE4

Accessibility & contrast

On white

1.28
#DDEC7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.38
#DDEC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDEC7F
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDEC7F#FFFFFF#000000##000000
##DDEC7F1.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E276
Deuteranopia (green-blind)
#F8E485
Tritanopia (blue-blind)
#E8E1D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ddec7f;
/* rgb */ color: rgb(221, 236, 127);
/* oklch */ color: oklch(90.9% 0.135 115.6);
Tailwind
colors: {
  custom: {
    50: '#e9f2a6',
    500: '#ddec7f',
    950: '#000000',
  },
}
SCSS
$custom: #ddec7f;
$custom-light: #e9f2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ddec7f",
  "rgb": {
    "r": 221,
    "g": 236,
    "b": 127
  },
  "hsl": {
    "h": 68.257,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90896,
    "c": 0.1349,
    "h": 115.6
  },
  "luminance": 0.76895
}

Semantic roles & 50–950 ramp

primary
#DDEC7F
secondary
#5B4AC6
accent
#0FD62B
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16160F
muted
#858580

Preview Lab

Preview with #DDEC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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