#DFD957#DFD957

#DFD957 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.6% C 0.150 H 106.6°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#DFD957
RGBrgb(223, 217, 87)
HSLhsl(57, 68%, 61%)
HSVhsv(57, 61%, 87%)
CMYKcmyk(0%, 2.7%, 61%, 12.5%)
CIE-LABlab(85.00, -13.77, 62.86)
CIE-LCHlch(85.00, 64.35, 102.36°)
OKLaboklab(86.59% -0.0429 0.1435)
OKLCHoklch(86.59% 0.15 106.6)
XYZxyz(56.9665, 66.0036, 18.7542)
Luminance0.6600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD957 #575DDF
analogous
#DF9557 #DFD957 #A1DF57
triadic
#DFD957 #57DFD9 #D957DF
tetradic
#DFD957 #57DF95 #575DDF #DF57A1
square
#DFD957 #57DF95 #575DDF #DF57A1
split-complementary
#DFD957 #57A1DF #9557DF
monochromatic
#9E981E #D1CA28 #DFD957 #E9E58A #F3F0BE

Accessibility & contrast

On white

1.48
#DFD957 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#DFD957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD957
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD957#FFFFFF#000000##000000
##DFD9571.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD148
Deuteranopia (green-blind)
#EDD75F
Tritanopia (blue-blind)
#EECCBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd957;
/* rgb */ color: rgb(223, 217, 87);
/* oklch */ color: oklch(86.6% 0.150 106.6);
Tailwind
colors: {
  custom: {
    50: '#ece48c',
    500: '#dfd957',
    950: '#000000',
  },
}
SCSS
$custom: #dfd957;
$custom-light: #ece48c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd957",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 87
  },
  "hsl": {
    "h": 57.353,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86592,
    "c": 0.14974,
    "h": 106.6
  },
  "luminance": 0.66002
}

Semantic roles & 50–950 ramp

primary
#DFD957
secondary
#393EA1
accent
#1ED016
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD957

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

Preview Lab → · Contrast checker → · Palette generator →

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