#FFDF74#FFDF74

#FFDF74 is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.9% C 0.131 H 93.0°. Best body text is #000000 at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#FFDF74
RGBrgb(255, 223, 116)
HSLhsl(46, 100%, 73%)
HSVhsv(46, 55%, 100%)
CMYKcmyk(0%, 12.5%, 54.5%, 0%)
CIE-LABlab(89.53, -1.67, 55.80)
CIE-LCHlch(89.53, 55.83, 91.72°)
OKLaboklab(90.93% -0.0069 0.1311)
OKLCHoklch(90.93% 0.131 93)
XYZxyz(70.7828, 75.2996, 27.3255)
Luminance0.7530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF74 #7494FF
analogous
#FF9974 #FFDF74 #D9FF74
triadic
#FFDF74 #74FFDF #DF74FF
tetradic
#FFDF74 #74FF99 #7494FF #FF74D9
square
#FFDF74 #74FF99 #7494FF #FF74D9
split-complementary
#FFDF74 #74D9FF #9974FF
monochromatic
#F9BF00 #FFD137 #FFDF74 #FFEDB1 #FFF8E0

Accessibility & contrast

On white

1.31
#FFDF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.06
#FFDF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF74
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF74#FFFFFF#000000##000000
##FFDF741.001.3116.0616.06
#FFFFFF1.311.0021.0021.00
#00000016.0621.001.001.00
##00000016.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC6A
Deuteranopia (green-blind)
#FBE578
Tritanopia (blue-blind)
#FFD1C7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ffdf74;
/* rgb */ color: rgb(255, 223, 116);
/* oklch */ color: oklch(90.9% 0.131 93.0);
Tailwind
colors: {
  custom: {
    50: '#ffe89f',
    500: '#ffdf74',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf74;
$custom-light: #ffe89f;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf74",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 116
  },
  "hsl": {
    "h": 46.187,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90927,
    "c": 0.13126,
    "h": 93
  },
  "luminance": 0.75296
}

Semantic roles & 50–950 ramp

primary
#FFDF74
secondary
#3B60DC
accent
#35E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FFDF74

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

Preview Lab → · Contrast checker → · Palette generator →

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