#DFEC5F#DFEC5F

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

Color values

HEX#DFEC5F
RGBrgb(223, 236, 95)
HSLhsl(66, 79%, 65%)
HSVhsv(66, 60%, 93%)
CMYKcmyk(5.5%, 0%, 59.7%, 7.5%)
CIE-LABlab(90.09, -22.52, 65.03)
CIE-LCHlch(90.09, 68.82, 109.10°)
OKLaboklab(90.68% -0.0667 0.1491)
OKLCHoklch(90.68% 0.163 114.1)
XYZxyz(62.4939, 76.5062, 22.2993)
Luminance0.7651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEC5F #6C5FEC
analogous
#ECB35F #DFEC5F #98EC5F
triadic
#DFEC5F #5FDFEC #EC5FDF
tetradic
#DFEC5F #5FECB3 #6C5FEC #EC5F98
square
#DFEC5F #5FECB3 #6C5FEC #EC5F98
split-complementary
#DFEC5F #5F98EC #B35FEC
monochromatic
#ABBA16 #D4E628 #DFEC5F #EAF296 #F5F9CC

Accessibility & contrast

On white

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

On black

16.30
#DFEC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEC5F
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEC5F#FFFFFF#000000##000000
##DFEC5F1.001.2916.3016.30
#FFFFFF1.291.0021.0021.00
#00000016.3021.001.001.00
##00000016.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfec5f;
/* rgb */ color: rgb(223, 236, 95);
/* oklch */ color: oklch(90.7% 0.163 114.1);
Tailwind
colors: {
  custom: {
    50: '#ecf292',
    500: '#dfec5f',
    950: '#000000',
  },
}
SCSS
$custom: #dfec5f;
$custom-light: #ecf292;
$custom-dark: #000000;
JSON
{
  "hex": "#dfec5f",
  "rgb": {
    "r": 223,
    "g": 236,
    "b": 95
  },
  "hsl": {
    "h": 65.532,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.90683,
    "c": 0.16339,
    "h": 114.1
  },
  "luminance": 0.76505
}

Semantic roles & 50–950 ramp

primary
#DFEC5F
secondary
#4236BA
accent
#0ADB1E
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #DFEC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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