#DFEA51#DFEA51

#DFEA51 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.1% C 0.172 H 113.3°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#DFEA51
RGBrgb(223, 234, 81)
HSLhsl(64, 78%, 62%)
HSVhsv(64, 65%, 92%)
CMYKcmyk(4.7%, 0%, 65.4%, 8.2%)
CIE-LABlab(89.45, -22.45, 69.95)
CIE-LCHlch(89.45, 73.46, 107.79°)
OKLaboklab(90.14% -0.0679 0.1576)
OKLCHoklch(90.14% 0.172 113.3)
XYZxyz(61.3411, 75.1289, 19.0530)
Luminance0.7513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEA51 #5C51EA
analogous
#EAA951 #DFEA51 #93EA51
triadic
#DFEA51 #51DFEA #EA51DF
tetradic
#DFEA51 #51EAA9 #5C51EA #EA5193
square
#DFEA51 #51EAA9 #5C51EA #EA5193
split-complementary
#DFEA51 #5193EA #A951EA
monochromatic
#A1AC15 #D4E21B #DFEA51 #E9F188 #F3F7BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFEA51#FFFFFF#000000##000000
##DFEA511.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)
#FBDF3B
Deuteranopia (green-blind)
#FBE25C
Tritanopia (blue-blind)
#EDDDCB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #dfea51;
/* rgb */ color: rgb(223, 234, 81);
/* oklch */ color: oklch(90.1% 0.172 113.3);
Tailwind
colors: {
  custom: {
    50: '#ecf08a',
    500: '#dfea51',
    950: '#000000',
  },
}
SCSS
$custom: #dfea51;
$custom-light: #ecf08a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfea51",
  "rgb": {
    "r": 223,
    "g": 234,
    "b": 81
  },
  "hsl": {
    "h": 64.314,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.90136,
    "c": 0.1716,
    "h": 113.3
  },
  "luminance": 0.75128
}

Semantic roles & 50–950 ramp

primary
#DFEA51
secondary
#3B32AD
accent
#0BDB1A
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #DFEA51

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

Preview Lab → · Contrast checker → · Palette generator →

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