#DFD777#DFD777

#DFD777 is a very light, moderate yellow. Relative luminance 0.656; OKLCH L 86.5% C 0.119 H 104.4°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#DFD777
RGBrgb(223, 215, 119)
HSLhsl(55, 62%, 67%)
HSVhsv(55, 47%, 87%)
CMYKcmyk(0%, 3.6%, 46.6%, 12.5%)
CIE-LABlab(84.80, -10.25, 48.06)
CIE-LCHlch(84.80, 49.14, 102.03°)
OKLaboklab(86.54% -0.0294 0.1149)
OKLCHoklch(86.54% 0.119 104.4)
XYZxyz(58.0630, 65.6224, 27.0570)
Luminance0.6562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD777 #777FDF
analogous
#DFA377 #DFD777 #B3DF77
triadic
#DFD777 #77DFD7 #D777DF
tetradic
#DFD777 #77DFA3 #777FDF #DF77B3
square
#DFD777 #77DFA3 #777FDF #DF77B3
split-complementary
#DFD777 #77B3DF #A377DF
monochromatic
#B2A72A #D3C845 #DFD777 #EBE6A9 #F6F4DA

Accessibility & contrast

On white

1.49
#DFD777 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#DFD777 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD777
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD777#FFFFFF#000000##000000
##DFD7771.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D16F
Deuteranopia (green-blind)
#E9D67B
Tritanopia (blue-blind)
#ECCCC0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd777;
/* rgb */ color: rgb(223, 215, 119);
/* oklch */ color: oklch(86.5% 0.119 104.4);
Tailwind
colors: {
  custom: {
    50: '#ebe3a0',
    500: '#dfd777',
    950: '#000000',
  },
}
SCSS
$custom: #dfd777;
$custom-light: #ebe3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd777",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 119
  },
  "hsl": {
    "h": 55.385,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86544,
    "c": 0.11858,
    "h": 104.4
  },
  "luminance": 0.65621
}

Semantic roles & 50–950 ramp

primary
#DFD777
secondary
#474FB3
accent
#29CA1C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD777

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

Preview Lab → · Contrast checker → · Palette generator →

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