#DFD974#DFD974

#DFD974 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.9% C 0.124 H 105.7°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#DFD974
RGBrgb(223, 217, 116)
HSLhsl(57, 63%, 66%)
HSVhsv(57, 48%, 87%)
CMYKcmyk(0%, 2.7%, 48%, 12.5%)
CIE-LABlab(85.29, -11.53, 50.09)
CIE-LCHlch(85.29, 51.40, 102.96°)
OKLaboklab(86.92% -0.0334 0.1191)
OKLCHoklch(86.92% 0.124 105.7)
XYZxyz(58.3981, 66.5763, 26.2939)
Luminance0.6657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD974 #747ADF
analogous
#DFA474 #DFD974 #B0DF74
triadic
#DFD974 #74DFD9 #D974DF
tetradic
#DFD974 #74DFA4 #747ADF #DF74B0
square
#DFD974 #74DFA4 #747ADF #DF74B0
split-complementary
#DFD974 #74B0DF #A474DF
monochromatic
#B0A829 #D4CB42 #DFD974 #EAE7A6 #F6F4D7

Accessibility & contrast

On white

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

On black

14.32
#DFD974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD974
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD974#FFFFFF#000000##000000
##DFD9741.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D26B
Deuteranopia (green-blind)
#EBD779
Tritanopia (blue-blind)
#ECCDC1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd974;
/* rgb */ color: rgb(223, 217, 116);
/* oklch */ color: oklch(86.9% 0.124 105.7);
Tailwind
colors: {
  custom: {
    50: '#ebe49e',
    500: '#dfd974',
    950: '#000000',
  },
}
SCSS
$custom: #dfd974;
$custom-light: #ebe49e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd974",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 116
  },
  "hsl": {
    "h": 56.636,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86918,
    "c": 0.12371,
    "h": 105.7
  },
  "luminance": 0.66575
}

Semantic roles & 50–950 ramp

primary
#DFD974
secondary
#454CB2
accent
#25CA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD974

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

Preview Lab → · Contrast checker → · Palette generator →

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