#DFE971#DFE971

#DFE971 is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.2% C 0.144 H 113.2°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#DFE971
RGBrgb(223, 233, 113)
HSLhsl(65, 73%, 68%)
HSVhsv(65, 52%, 91%)
CMYKcmyk(4.3%, 0%, 51.5%, 8.6%)
CIE-LABlab(89.47, -19.69, 56.45)
CIE-LCHlch(89.47, 59.79, 109.22°)
OKLaboklab(90.24% -0.0569 0.1327)
OKLCHoklch(90.24% 0.144 113.2)
XYZxyz(62.5522, 75.1591, 26.8316)
Luminance0.7516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE971 #7B71E9
analogous
#E9B771 #DFE971 #A3E971
triadic
#DFE971 #71DFE9 #E971DF
tetradic
#DFE971 #71E9B7 #7B71E9 #E971A3
square
#DFE971 #71E9B7 #7B71E9 #E971A3
split-complementary
#DFE971 #71A3E9 #B771E9
monochromatic
#B4C21E #D3E13C #DFE971 #EBF1A6 #F7F9DB

Accessibility & contrast

On white

1.31
#DFE971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.03
#DFE971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE971
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE971#FFFFFF#000000##000000
##DFE9711.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF66
Deuteranopia (green-blind)
#F8E278
Tritanopia (blue-blind)
#EBDDCE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #dfe971;
/* rgb */ color: rgb(223, 233, 113);
/* oklch */ color: oklch(90.2% 0.144 113.2);
Tailwind
colors: {
  custom: {
    50: '#ebef9d',
    500: '#dfe971',
    950: '#000000',
  },
}
SCSS
$custom: #dfe971;
$custom-light: #ebef9d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe971",
  "rgb": {
    "r": 223,
    "g": 233,
    "b": 113
  },
  "hsl": {
    "h": 65,
    "s": 73.171,
    "l": 67.843
  },
  "oklch": {
    "l": 0.90237,
    "c": 0.14444,
    "h": 113.2
  },
  "luminance": 0.75158
}

Semantic roles & 50–950 ramp

primary
#DFE971
secondary
#493EC0
accent
#10D521
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16160E
muted
#85857F

Preview Lab

Preview with #DFE971

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

Preview Lab → · Contrast checker → · Palette generator →

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