#DFE972#DFE972

#DFE972 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.04:1 contrast (WCAG AA passes).

Color values

HEX#DFE972
RGBrgb(223, 233, 114)
HSLhsl(65, 73%, 68%)
HSVhsv(65, 51%, 91%)
CMYKcmyk(4.3%, 0%, 51.1%, 8.6%)
CIE-LABlab(89.48, -19.60, 56.01)
CIE-LCHlch(89.48, 59.34, 109.29°)
OKLaboklab(90.25% -0.0566 0.1319)
OKLCHoklch(90.25% 0.144 113.2)
XYZxyz(62.6088, 75.1818, 27.1297)
Luminance0.7518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE972 #7C72E9
analogous
#E9B772 #DFE972 #A3E972
triadic
#DFE972 #72DFE9 #E972DF
tetradic
#DFE972 #72E9B7 #7C72E9 #E972A3
square
#DFE972 #72E9B7 #7C72E9 #E972A3
split-complementary
#DFE972 #72A3E9 #B772E9
monochromatic
#B5C21E #D3E13D #DFE972 #EBF1A7 #F7FADC

Accessibility & contrast

On white

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

On black

16.04
#DFE972 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE972
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE972#FFFFFF#000000##000000
##DFE9721.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfe972;
/* rgb */ color: rgb(223, 233, 114);
/* oklch */ color: oklch(90.2% 0.144 113.2);
Tailwind
colors: {
  custom: {
    50: '#ebef9d',
    500: '#dfe972',
    950: '#000000',
  },
}
SCSS
$custom: #dfe972;
$custom-light: #ebef9d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe972",
  "rgb": {
    "r": 223,
    "g": 233,
    "b": 114
  },
  "hsl": {
    "h": 65.042,
    "s": 73.006,
    "l": 68.039
  },
  "oklch": {
    "l": 0.90249,
    "c": 0.14351,
    "h": 113.2
  },
  "luminance": 0.75181
}

Semantic roles & 50–950 ramp

primary
#DFE972
secondary
#493EC1
accent
#10D521
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16160F
muted
#858580

Preview Lab

Preview with #DFE972

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

Preview Lab → · Contrast checker → · Palette generator →

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