#DFDD57#DFDD57

#DFDD57 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.4% C 0.154 H 108.4°. Best body text is #000000 at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#DFDD57
RGBrgb(223, 221, 87)
HSLhsl(59, 68%, 61%)
HSVhsv(59, 61%, 87%)
CMYKcmyk(0%, 0.9%, 61%, 12.5%)
CIE-LABlab(86.05, -15.76, 63.99)
CIE-LCHlch(86.05, 65.90, 103.83°)
OKLaboklab(87.43% -0.0485 0.1459)
OKLCHoklch(87.43% 0.154 108.4)
XYZxyz(58.0100, 68.0907, 19.1020)
Luminance0.6809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDD57 #5759DF
analogous
#DF9957 #DFDD57 #9DDF57
triadic
#DFDD57 #57DFDD #DD57DF
tetradic
#DFDD57 #57DF99 #5759DF #DF579D
square
#DFDD57 #57DF99 #5759DF #DF579D
split-complementary
#DFDD57 #579DDF #9957DF
monochromatic
#9E9C1E #D1CF28 #DFDD57 #E9E78A #F3F2BE

Accessibility & contrast

On white

1.44
#DFDD57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.62
#DFDD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDD57
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDD57#FFFFFF#000000##000000
##DFDD571.001.4414.6214.62
#FFFFFF1.441.0021.0021.00
#00000014.6221.001.001.00
##00000014.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED547
Deuteranopia (green-blind)
#F0D95F
Tritanopia (blue-blind)
#EED0C1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dfdd57;
/* rgb */ color: rgb(223, 221, 87);
/* oklch */ color: oklch(87.4% 0.154 108.4);
Tailwind
colors: {
  custom: {
    50: '#ece78c',
    500: '#dfdd57',
    950: '#000000',
  },
}
SCSS
$custom: #dfdd57;
$custom-light: #ece78c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdd57",
  "rgb": {
    "r": 223,
    "g": 221,
    "b": 87
  },
  "hsl": {
    "h": 59.118,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87432,
    "c": 0.15372,
    "h": 108.4
  },
  "luminance": 0.68089
}

Semantic roles & 50–950 ramp

primary
#DFDD57
secondary
#393BA1
accent
#18D016
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DFDD57

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

Preview Lab → · Contrast checker → · Palette generator →

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