#DFD774#DFD774

#DFD774 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.5% C 0.122 H 104.5°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#DFD774
RGBrgb(223, 215, 116)
HSLhsl(56, 63%, 66%)
HSVhsv(56, 48%, 87%)
CMYKcmyk(0%, 3.6%, 48%, 12.5%)
CIE-LABlab(84.77, -10.52, 49.46)
CIE-LCHlch(84.77, 50.57, 102.01°)
OKLaboklab(86.5% -0.0305 0.1177)
OKLCHoklch(86.5% 0.122 104.5)
XYZxyz(57.8857, 65.5515, 26.1231)
Luminance0.6555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD774 #747CDF
analogous
#DFA274 #DFD774 #B2DF74
triadic
#DFD774 #74DFD7 #D774DF
tetradic
#DFD774 #74DFA2 #747CDF #DF74B2
square
#DFD774 #74DFA2 #747CDF #DF74B2
split-complementary
#DFD774 #74B2DF #A274DF
monochromatic
#B0A629 #D4C942 #DFD774 #EAE5A6 #F6F4D7

Accessibility & contrast

On white

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

On black

14.11
#DFD774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD774
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD774#FFFFFF#000000##000000
##DFD7741.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D16B
Deuteranopia (green-blind)
#E9D679
Tritanopia (blue-blind)
#EDCBC0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd774;
/* rgb */ color: rgb(223, 215, 116);
/* oklch */ color: oklch(86.5% 0.122 104.5);
Tailwind
colors: {
  custom: {
    50: '#ebe39e',
    500: '#dfd774',
    950: '#000000',
  },
}
SCSS
$custom: #dfd774;
$custom-light: #ebe39e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd774",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 116
  },
  "hsl": {
    "h": 55.514,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86503,
    "c": 0.12162,
    "h": 104.5
  },
  "luminance": 0.6555
}

Semantic roles & 50–950 ramp

primary
#DFD774
secondary
#454EB2
accent
#28CA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD774

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

Preview Lab → · Contrast checker → · Palette generator →

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