#DFEC5E#DFEC5E

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

Color values

HEX#DFEC5E
RGBrgb(223, 236, 94)
HSLhsl(65, 79%, 65%)
HSVhsv(65, 60%, 93%)
CMYKcmyk(5.5%, 0%, 60.2%, 7.5%)
CIE-LABlab(90.09, -22.59, 65.44)
CIE-LCHlch(90.09, 69.23, 109.05°)
OKLaboklab(90.67% -0.067 0.1499)
OKLCHoklch(90.67% 0.164 114.1)
XYZxyz(62.4487, 76.4881, 22.0615)
Luminance0.7649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEC5E #6B5EEC
analogous
#ECB25E #DFEC5E #98EC5E
triadic
#DFEC5E #5EDFEC #EC5EDF
tetradic
#DFEC5E #5EECB2 #6B5EEC #EC5E98
square
#DFEC5E #5EECB2 #6B5EEC #EC5E98
split-complementary
#DFEC5E #5E98EC #B25EEC
monochromatic
#ABBA16 #D4E627 #DFEC5E #EAF295 #F5F9CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFEC5E#FFFFFF#000000##000000
##DFEC5E1.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)
#FCE14D
Deuteranopia (green-blind)
#FBE467
Tritanopia (blue-blind)
#ECDFCE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #dfec5e;
/* rgb */ color: rgb(223, 236, 94);
/* oklch */ color: oklch(90.7% 0.164 114.1);
Tailwind
colors: {
  custom: {
    50: '#ecf291',
    500: '#dfec5e',
    950: '#000000',
  },
}
SCSS
$custom: #dfec5e;
$custom-light: #ecf291;
$custom-dark: #000000;
JSON
{
  "hex": "#dfec5e",
  "rgb": {
    "r": 223,
    "g": 236,
    "b": 94
  },
  "hsl": {
    "h": 65.493,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.90674,
    "c": 0.16418,
    "h": 114.1
  },
  "luminance": 0.76487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFEC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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