#DFE252#DFE252

#DFE252 is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 88.4% C 0.163 H 110.5°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#DFE252
RGBrgb(223, 226, 82)
HSLhsl(61, 71%, 60%)
HSVhsv(61, 64%, 89%)
CMYKcmyk(1.3%, 0%, 63.7%, 11.4%)
CIE-LABlab(87.33, -18.52, 67.37)
CIE-LCHlch(87.33, 69.87, 105.37°)
OKLaboklab(88.44% -0.0568 0.1523)
OKLCHoklch(88.44% 0.163 110.5)
XYZxyz(59.1526, 70.6914, 18.5098)
Luminance0.7069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE252 #5552E2
analogous
#E29D52 #DFE252 #97E252
triadic
#DFE252 #52DFE2 #E252DF
tetradic
#DFE252 #52E29D #5552E2 #E25297
square
#DFE252 #52E29D #5552E2 #E25297
split-complementary
#DFE252 #5297E2 #9D52E2
monochromatic
#9C9F1B #D0D323 #DFE252 #E9EB86 #F2F4BB

Accessibility & contrast

On white

1.39
#DFE252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.14
#DFE252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE252
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE252#FFFFFF#000000##000000
##DFE2521.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D93F
Deuteranopia (green-blind)
#F4DD5B
Tritanopia (blue-blind)
#EED5C4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #dfe252;
/* rgb */ color: rgb(223, 226, 82);
/* oklch */ color: oklch(88.4% 0.163 110.5);
Tailwind
colors: {
  custom: {
    50: '#ecea89',
    500: '#dfe252',
    950: '#000000',
  },
}
SCSS
$custom: #dfe252;
$custom-light: #ecea89;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe252",
  "rgb": {
    "r": 223,
    "g": 226,
    "b": 82
  },
  "hsl": {
    "h": 61.25,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.88444,
    "c": 0.16255,
    "h": 110.5
  },
  "luminance": 0.7069
}

Semantic roles & 50–950 ramp

primary
#DFE252
secondary
#3836A2
accent
#12D316
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DFE252

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

Preview Lab → · Contrast checker → · Palette generator →

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