#DFD474#DFD474

#DFD474 is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 85.9% C 0.119 H 102.8°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#DFD474
RGBrgb(223, 212, 116)
HSLhsl(54, 63%, 66%)
HSVhsv(54, 48%, 87%)
CMYKcmyk(0%, 4.9%, 48%, 12.5%)
CIE-LABlab(83.99, -9.01, 48.51)
CIE-LCHlch(83.99, 49.34, 100.52°)
OKLaboklab(85.88% -0.0262 0.1156)
OKLCHoklch(85.88% 0.119 102.8)
XYZxyz(57.1288, 64.0377, 25.8708)
Luminance0.6404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD474 #747FDF
analogous
#DF9F74 #DFD474 #B5DF74
triadic
#DFD474 #74DFD4 #D474DF
tetradic
#DFD474 #74DF9F #747FDF #DF74B5
square
#DFD474 #74DF9F #747FDF #DF74B5
split-complementary
#DFD474 #74B5DF #9F74DF
monochromatic
#B0A229 #D4C542 #DFD474 #EAE3A6 #F6F3D7

Accessibility & contrast

On white

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

On black

13.81
#DFD474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD474
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD474#FFFFFF#000000##000000
##DFD4741.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE6C
Deuteranopia (green-blind)
#E7D478
Tritanopia (blue-blind)
#EDC8BD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd474;
/* rgb */ color: rgb(223, 212, 116);
/* oklch */ color: oklch(85.9% 0.119 102.8);
Tailwind
colors: {
  custom: {
    50: '#ebe19e',
    500: '#dfd474',
    950: '#000000',
  },
}
SCSS
$custom: #dfd474;
$custom-light: #ebe19e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd474",
  "rgb": {
    "r": 223,
    "g": 212,
    "b": 116
  },
  "hsl": {
    "h": 53.832,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.85882,
    "c": 0.11856,
    "h": 102.8
  },
  "luminance": 0.64036
}

Semantic roles & 50–950 ramp

primary
#DFD474
secondary
#4551B2
accent
#2DCA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD474

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

Preview Lab → · Contrast checker → · Palette generator →

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