#DFD977#DFD977

#DFD977 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.0% C 0.121 H 105.5°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#DFD977
RGBrgb(223, 217, 119)
HSLhsl(57, 62%, 67%)
HSVhsv(57, 47%, 87%)
CMYKcmyk(0%, 2.7%, 46.6%, 12.5%)
CIE-LABlab(85.33, -11.25, 48.70)
CIE-LCHlch(85.33, 49.98, 103.01°)
OKLaboklab(86.96% -0.0323 0.1163)
OKLCHoklch(86.96% 0.121 105.5)
XYZxyz(58.5754, 66.6472, 27.2278)
Luminance0.6665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD977 #777DDF
analogous
#DFA577 #DFD977 #B1DF77
triadic
#DFD977 #77DFD9 #D977DF
tetradic
#DFD977 #77DFA5 #777DDF #DF77B1
square
#DFD977 #77DFA5 #777DDF #DF77B1
split-complementary
#DFD977 #77B1DF #A577DF
monochromatic
#B2AA2A #D3CB45 #DFD977 #EBE7A9 #F6F5DA

Accessibility & contrast

On white

1.47
#DFD977 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#DFD977 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD977
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD977#FFFFFF#000000##000000
##DFD9771.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D36F
Deuteranopia (green-blind)
#EAD77B
Tritanopia (blue-blind)
#ECCEC2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd977;
/* rgb */ color: rgb(223, 217, 119);
/* oklch */ color: oklch(87.0% 0.121 105.5);
Tailwind
colors: {
  custom: {
    50: '#ebe4a0',
    500: '#dfd977',
    950: '#000000',
  },
}
SCSS
$custom: #dfd977;
$custom-light: #ebe4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd977",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 119
  },
  "hsl": {
    "h": 56.538,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86958,
    "c": 0.12068,
    "h": 105.5
  },
  "luminance": 0.66646
}

Semantic roles & 50–950 ramp

primary
#DFD977
secondary
#474DB3
accent
#26CA1C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD977

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

Preview Lab → · Contrast checker → · Palette generator →

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