#DFD257#DFD257

#DFD257 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.1% C 0.143 H 103.3°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#DFD257
RGBrgb(223, 210, 87)
HSLhsl(54, 68%, 61%)
HSVhsv(54, 61%, 87%)
CMYKcmyk(0%, 5.8%, 61%, 12.5%)
CIE-LABlab(83.16, -10.27, 60.87)
CIE-LCHlch(83.16, 61.73, 99.57°)
OKLaboklab(85.13% -0.0329 0.1393)
OKLCHoklch(85.13% 0.143 103.3)
XYZxyz(55.2003, 62.4713, 18.1655)
Luminance0.6247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD257 #5764DF
analogous
#DF8E57 #DFD257 #A8DF57
triadic
#DFD257 #57DFD2 #D257DF
tetradic
#DFD257 #57DF8E #5764DF #DF57A8
square
#DFD257 #57DF8E #5764DF #DF57A8
split-complementary
#DFD257 #57A8DF #8E57DF
monochromatic
#9E911E #D1C128 #DFD257 #E9E08A #F3EEBE

Accessibility & contrast

On white

1.56
#DFD257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.49
#DFD257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD257
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD257#FFFFFF#000000##000000
##DFD2571.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC49
Deuteranopia (green-blind)
#E8D25E
Tritanopia (blue-blind)
#EFC5B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfd257;
/* rgb */ color: rgb(223, 210, 87);
/* oklch */ color: oklch(85.1% 0.143 103.3);
Tailwind
colors: {
  custom: {
    50: '#ecdf8b',
    500: '#dfd257',
    950: '#000000',
  },
}
SCSS
$custom: #dfd257;
$custom-light: #ecdf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd257",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 87
  },
  "hsl": {
    "h": 54.265,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85133,
    "c": 0.14308,
    "h": 103.3
  },
  "luminance": 0.62469
}

Semantic roles & 50–950 ramp

primary
#DFD257
secondary
#3943A1
accent
#27D016
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD257

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

Preview Lab → · Contrast checker → · Palette generator →

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