#DFE952#DFE952

#DFE952 is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 89.9% C 0.170 H 113.0°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#DFE952
RGBrgb(223, 233, 82)
HSLhsl(64, 77%, 62%)
HSVhsv(64, 65%, 91%)
CMYKcmyk(4.3%, 0%, 64.8%, 8.6%)
CIE-LABlab(89.19, -21.91, 69.30)
CIE-LCHlch(89.19, 72.68, 107.55°)
OKLaboklab(89.93% -0.0663 0.1564)
OKLCHoklch(89.93% 0.17 113)
XYZxyz(61.0950, 74.5763, 19.1573)
Luminance0.7458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE952 #5C52E9
analogous
#E9A852 #DFE952 #93E952
triadic
#DFE952 #52DFE9 #E952DF
tetradic
#DFE952 #52E9A8 #5C52E9 #E95293
square
#DFE952 #52E9A8 #5C52E9 #E95293
split-complementary
#DFE952 #5293E9 #A852E9
monochromatic
#A1AB16 #D4E11D #DFE952 #E9F088 #F3F7BF

Accessibility & contrast

On white

1.32
#DFE952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.92
#DFE952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE952
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE952#FFFFFF#000000##000000
##DFE9521.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADE3D
Deuteranopia (green-blind)
#FAE25C
Tritanopia (blue-blind)
#EDDCCA
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #dfe952;
/* rgb */ color: rgb(223, 233, 82);
/* oklch */ color: oklch(89.9% 0.170 113.0);
Tailwind
colors: {
  custom: {
    50: '#ecef8a',
    500: '#dfe952',
    950: '#000000',
  },
}
SCSS
$custom: #dfe952;
$custom-light: #ecef8a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe952",
  "rgb": {
    "r": 223,
    "g": 233,
    "b": 82
  },
  "hsl": {
    "h": 63.974,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.8993,
    "c": 0.16984,
    "h": 113
  },
  "luminance": 0.74575
}

Semantic roles & 50–950 ramp

primary
#DFE952
secondary
#3B33AC
accent
#0CDA19
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #DFE952

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

Preview Lab → · Contrast checker → · Palette generator →

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