#DFD477#DFD477

#DFD477 is a very light, moderate yellow. Relative luminance 0.641; OKLCH L 85.9% C 0.116 H 102.5°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#DFD477
RGBrgb(223, 212, 119)
HSLhsl(54, 62%, 67%)
HSVhsv(54, 47%, 87%)
CMYKcmyk(0%, 4.9%, 46.6%, 12.5%)
CIE-LABlab(84.02, -8.73, 47.11)
CIE-LCHlch(84.02, 47.91, 100.50°)
OKLaboklab(85.92% -0.0251 0.1128)
OKLCHoklch(85.92% 0.116 102.5)
XYZxyz(57.3061, 64.1086, 26.8047)
Luminance0.6411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD477 #7782DF
analogous
#DFA077 #DFD477 #B6DF77
triadic
#DFD477 #77DFD4 #D477DF
tetradic
#DFD477 #77DFA0 #7782DF #DF77B6
square
#DFD477 #77DFA0 #7782DF #DF77B6
split-complementary
#DFD477 #77B6DF #A077DF
monochromatic
#B2A32A #D3C445 #DFD477 #EBE4A9 #F6F3DA

Accessibility & contrast

On white

1.52
#DFD477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#DFD477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD477
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD477#FFFFFF#000000##000000
##DFD4771.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE6F
Deuteranopia (green-blind)
#E7D47B
Tritanopia (blue-blind)
#EDC9BE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dfd477;
/* rgb */ color: rgb(223, 212, 119);
/* oklch */ color: oklch(85.9% 0.116 102.5);
Tailwind
colors: {
  custom: {
    50: '#ebe1a0',
    500: '#dfd477',
    950: '#000000',
  },
}
SCSS
$custom: #dfd477;
$custom-light: #ebe1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd477",
  "rgb": {
    "r": 223,
    "g": 212,
    "b": 119
  },
  "hsl": {
    "h": 53.654,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85924,
    "c": 0.11551,
    "h": 102.5
  },
  "luminance": 0.64107
}

Semantic roles & 50–950 ramp

primary
#DFD477
secondary
#4752B3
accent
#2ECA1C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD477

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

Preview Lab → · Contrast checker → · Palette generator →

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