#DFEC5D#DFEC5D

#DFEC5D is a very light, vivid yellow. Relative luminance 0.765; OKLCH L 90.7% C 0.165 H 114.1°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#DFEC5D
RGBrgb(223, 236, 93)
HSLhsl(65, 79%, 65%)
HSVhsv(65, 61%, 93%)
CMYKcmyk(5.5%, 0%, 60.6%, 7.5%)
CIE-LABlab(90.08, -22.66, 65.84)
CIE-LCHlch(90.08, 69.63, 108.99°)
OKLaboklab(90.66% -0.0673 0.1506)
OKLCHoklch(90.66% 0.165 114.1)
XYZxyz(62.4041, 76.4703, 21.8267)
Luminance0.7647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEC5D #6A5DEC
analogous
#ECB25D #DFEC5D #97EC5D
triadic
#DFEC5D #5DDFEC #EC5DDF
tetradic
#DFEC5D #5DECB2 #6A5DEC #EC5D97
square
#DFEC5D #5DECB2 #6A5DEC #EC5D97
split-complementary
#DFEC5D #5D97EC #B25DEC
monochromatic
#AAB916 #D4E626 #DFEC5D #EAF294 #F5F9CB

Accessibility & contrast

On white

1.29
#DFEC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.29
#DFEC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEC5D
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEC5D#FFFFFF#000000##000000
##DFEC5D1.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE14C
Deuteranopia (green-blind)
#FBE466
Tritanopia (blue-blind)
#ECDFCE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #dfec5d;
/* rgb */ color: rgb(223, 236, 93);
/* oklch */ color: oklch(90.7% 0.165 114.1);
Tailwind
colors: {
  custom: {
    50: '#ecf291',
    500: '#dfec5d',
    950: '#000000',
  },
}
SCSS
$custom: #dfec5d;
$custom-light: #ecf291;
$custom-dark: #000000;
JSON
{
  "hex": "#dfec5d",
  "rgb": {
    "r": 223,
    "g": 236,
    "b": 93
  },
  "hsl": {
    "h": 65.455,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90664,
    "c": 0.16496,
    "h": 114.1
  },
  "luminance": 0.76469
}

Semantic roles & 50–950 ramp

primary
#DFEC5D
secondary
#4135B8
accent
#0ADB1D
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #DFEC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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