#DFEC5C#DFEC5C

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

Color values

HEX#DFEC5C
RGBrgb(223, 236, 92)
HSLhsl(65, 79%, 64%)
HSVhsv(65, 61%, 93%)
CMYKcmyk(5.5%, 0%, 61%, 7.5%)
CIE-LABlab(90.07, -22.72, 66.24)
CIE-LCHlch(90.07, 70.03, 108.93°)
OKLaboklab(90.66% -0.0676 0.1513)
OKLCHoklch(90.66% 0.166 114.1)
XYZxyz(62.3601, 76.4527, 21.5949)
Luminance0.7645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEC5C #695CEC
analogous
#ECB15C #DFEC5C #97EC5C
triadic
#DFEC5C #5CDFEC #EC5CDF
tetradic
#DFEC5C #5CECB1 #695CEC #EC5C97
square
#DFEC5C #5CECB1 #695CEC #EC5C97
split-complementary
#DFEC5C #5C97EC #B15CEC
monochromatic
#A9B815 #D4E625 #DFEC5C #EAF293 #F5F9CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFEC5C#FFFFFF#000000##000000
##DFEC5C1.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)
#FCE14A
Deuteranopia (green-blind)
#FBE465
Tritanopia (blue-blind)
#EDDFCE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #dfec5c;
/* rgb */ color: rgb(223, 236, 92);
/* oklch */ color: oklch(90.7% 0.166 114.1);
Tailwind
colors: {
  custom: {
    50: '#ecf290',
    500: '#dfec5c',
    950: '#000000',
  },
}
SCSS
$custom: #dfec5c;
$custom-light: #ecf290;
$custom-dark: #000000;
JSON
{
  "hex": "#dfec5c",
  "rgb": {
    "r": 223,
    "g": 236,
    "b": 92
  },
  "hsl": {
    "h": 65.417,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.90655,
    "c": 0.16573,
    "h": 114.1
  },
  "luminance": 0.76452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFEC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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