#DFDC57#DFDC57

#DFDC57 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.2% C 0.153 H 108.0°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#DFDC57
RGBrgb(223, 220, 87)
HSLhsl(59, 68%, 61%)
HSVhsv(59, 61%, 87%)
CMYKcmyk(0%, 1.3%, 61%, 12.5%)
CIE-LABlab(85.79, -15.26, 63.71)
CIE-LCHlch(85.79, 65.51, 103.47°)
OKLaboklab(87.22% -0.0471 0.1453)
OKLCHoklch(87.22% 0.153 108)
XYZxyz(57.7468, 67.5642, 19.0143)
Luminance0.6756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDC57 #575ADF
analogous
#DF9857 #DFDC57 #9EDF57
triadic
#DFDC57 #57DFDC #DC57DF
tetradic
#DFDC57 #57DF98 #575ADF #DF579E
square
#DFDC57 #57DF98 #575ADF #DF579E
split-complementary
#DFDC57 #579EDF #9857DF
monochromatic
#9E9B1E #D1CD28 #DFDC57 #E9E78A #F3F1BE

Accessibility & contrast

On white

1.45
#DFDC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#DFDC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDC57
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDC57#FFFFFF#000000##000000
##DFDC571.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD447
Deuteranopia (green-blind)
#EFD95F
Tritanopia (blue-blind)
#EECFC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfdc57;
/* rgb */ color: rgb(223, 220, 87);
/* oklch */ color: oklch(87.2% 0.153 108.0);
Tailwind
colors: {
  custom: {
    50: '#ece68c',
    500: '#dfdc57',
    950: '#000000',
  },
}
SCSS
$custom: #dfdc57;
$custom-light: #ece68c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdc57",
  "rgb": {
    "r": 223,
    "g": 220,
    "b": 87
  },
  "hsl": {
    "h": 58.676,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87222,
    "c": 0.15271,
    "h": 108
  },
  "luminance": 0.67562
}

Semantic roles & 50–950 ramp

primary
#DFDC57
secondary
#393BA1
accent
#1AD016
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFDC57

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

Preview Lab → · Contrast checker → · Palette generator →

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