#DFEC74#DFEC74

#DFEC74 is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 90.9% C 0.145 H 114.4°. Best body text is #000000 at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#DFEC74
RGBrgb(223, 236, 116)
HSLhsl(67, 76%, 69%)
HSVhsv(67, 51%, 93%)
CMYKcmyk(5.5%, 0%, 50.8%, 7.5%)
CIE-LABlab(90.29, -20.88, 56.05)
CIE-LCHlch(90.29, 59.81, 110.43°)
OKLaboklab(90.91% -0.06 0.1321)
OKLCHoklch(90.91% 0.145 114.4)
XYZxyz(63.5803, 76.9408, 28.0213)
Luminance0.7694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEC74 #8174EC
analogous
#ECBD74 #DFEC74 #A3EC74
triadic
#DFEC74 #74DFEC #EC74DF
tetradic
#DFEC74 #74ECBD #8174EC #EC74A3
square
#DFEC74 #74ECBD #8174EC #EC74A3
split-complementary
#DFEC74 #74A3EC #BD74EC
monochromatic
#B7CA1C #D3E53E #DFEC74 #EBF3AA #F8FBE0

Accessibility & contrast

On white

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

On black

16.39
#DFEC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEC74
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEC74#FFFFFF#000000##000000
##DFEC741.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE269
Deuteranopia (green-blind)
#FAE47B
Tritanopia (blue-blind)
#EBE0D1
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #dfec74;
/* rgb */ color: rgb(223, 236, 116);
/* oklch */ color: oklch(90.9% 0.145 114.4);
Tailwind
colors: {
  custom: {
    50: '#ebf29f',
    500: '#dfec74',
    950: '#000000',
  },
}
SCSS
$custom: #dfec74;
$custom-light: #ebf29f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfec74",
  "rgb": {
    "r": 223,
    "g": 236,
    "b": 116
  },
  "hsl": {
    "h": 66.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90908,
    "c": 0.14514,
    "h": 114.4
  },
  "luminance": 0.7694
}

Semantic roles & 50–950 ramp

primary
#DFEC74
secondary
#4E40C5
accent
#0DD823
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16160F
muted
#858580

Preview Lab

Preview with #DFEC74

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

Preview Lab → · Contrast checker → · Palette generator →

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