#DFEC76#DFEC76

#DFEC76 is a very light, vivid yellow. Relative luminance 0.770; OKLCH L 90.9% C 0.143 H 114.5°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#DFEC76
RGBrgb(223, 236, 118)
HSLhsl(67, 76%, 69%)
HSVhsv(67, 50%, 93%)
CMYKcmyk(5.5%, 0%, 50%, 7.5%)
CIE-LABlab(90.32, -20.70, 55.16)
CIE-LCHlch(90.32, 58.92, 110.57°)
OKLaboklab(90.93% -0.0594 0.1304)
OKLCHoklch(90.93% 0.143 114.5)
XYZxyz(63.6979, 76.9878, 28.6406)
Luminance0.7699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEC76 #8376EC
analogous
#ECBE76 #DFEC76 #A4EC76
triadic
#DFEC76 #76DFEC #EC76DF
tetradic
#DFEC76 #76ECBE #8376EC #EC76A4
square
#DFEC76 #76ECBE #8376EC #EC76A4
split-complementary
#DFEC76 #76A4EC #BE76EC
monochromatic
#B8CB1C #D2E540 #DFEC76 #ECF3AC #F8FBE1

Accessibility & contrast

On white

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

On black

16.40
#DFEC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEC76
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEC76#FFFFFF#000000##000000
##DFEC761.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE26B
Deuteranopia (green-blind)
#FAE47C
Tritanopia (blue-blind)
#EBE1D1
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #dfec76;
/* rgb */ color: rgb(223, 236, 118);
/* oklch */ color: oklch(90.9% 0.143 114.5);
Tailwind
colors: {
  custom: {
    50: '#ebf2a0',
    500: '#dfec76',
    950: '#000000',
  },
}
SCSS
$custom: #dfec76;
$custom-light: #ebf2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfec76",
  "rgb": {
    "r": 223,
    "g": 236,
    "b": 118
  },
  "hsl": {
    "h": 66.61,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90932,
    "c": 0.14325,
    "h": 114.5
  },
  "luminance": 0.76987
}

Semantic roles & 50–950 ramp

primary
#DFEC76
secondary
#5041C5
accent
#0ED824
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16160F
muted
#858580

Preview Lab

Preview with #DFEC76

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

Preview Lab → · Contrast checker → · Palette generator →

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