#DFD057#DFD057

#DFD057 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.7% C 0.141 H 102.3°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#DFD057
RGBrgb(223, 208, 87)
HSLhsl(53, 68%, 61%)
HSVhsv(53, 61%, 87%)
CMYKcmyk(0%, 6.7%, 61%, 12.5%)
CIE-LABlab(82.64, -9.26, 60.30)
CIE-LCHlch(82.64, 61.01, 98.73°)
OKLaboklab(84.72% -0.03 0.1381)
OKLCHoklch(84.72% 0.141 102.3)
XYZxyz(54.7097, 61.4900, 18.0019)
Luminance0.6149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD057 #5766DF
analogous
#DF8C57 #DFD057 #AADF57
triadic
#DFD057 #57DFD0 #D057DF
tetradic
#DFD057 #57DF8C #5766DF #DF57AA
square
#DFD057 #57DF8C #5766DF #DF57AA
split-complementary
#DFD057 #57AADF #8C57DF
monochromatic
#9E901E #D1BE28 #DFD057 #E9DE8A #F3EDBE

Accessibility & contrast

On white

1.58
#DFD057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#DFD057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD057
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD057#FFFFFF#000000##000000
##DFD0571.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA49
Deuteranopia (green-blind)
#E6D15E
Tritanopia (blue-blind)
#EFC3B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dfd057;
/* rgb */ color: rgb(223, 208, 87);
/* oklch */ color: oklch(84.7% 0.141 102.3);
Tailwind
colors: {
  custom: {
    50: '#ecde8b',
    500: '#dfd057',
    950: '#000000',
  },
}
SCSS
$custom: #dfd057;
$custom-light: #ecde8b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd057",
  "rgb": {
    "r": 223,
    "g": 208,
    "b": 87
  },
  "hsl": {
    "h": 53.382,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84718,
    "c": 0.14128,
    "h": 102.3
  },
  "luminance": 0.61488
}

Semantic roles & 50–950 ramp

primary
#DFD057
secondary
#3945A1
accent
#2AD016
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD057

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

Preview Lab → · Contrast checker → · Palette generator →

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