#FFDF79#FFDF79

#FFDF79 is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 91.0% C 0.127 H 92.3°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#FFDF79
RGBrgb(255, 223, 121)
HSLhsl(46, 100%, 74%)
HSVhsv(46, 53%, 100%)
CMYKcmyk(0%, 12.5%, 52.5%, 0%)
CIE-LABlab(89.59, -1.28, 53.52)
CIE-LCHlch(89.59, 53.54, 91.37°)
OKLaboklab(90.99% -0.0052 0.1266)
OKLCHoklch(90.99% 0.127 92.3)
XYZxyz(71.0815, 75.4191, 28.8987)
Luminance0.7542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF79 #7999FF
analogous
#FF9C79 #FFDF79 #DCFF79
triadic
#FFDF79 #79FFDF #DF79FF
tetradic
#FFDF79 #79FF9C #7999FF #FF79DC
square
#FFDF79 #79FF9C #7999FF #FF79DC
split-complementary
#FFDF79 #79DCFF #9C79FF
monochromatic
#FEC100 #FFD03C #FFDF79 #FFEEB6 #FFF8E0

Accessibility & contrast

On white

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

On black

16.08
#FFDF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF79
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF79#FFFFFF#000000##000000
##FFDF791.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffdf79;
/* rgb */ color: rgb(255, 223, 121);
/* oklch */ color: oklch(91.0% 0.127 92.3);
Tailwind
colors: {
  custom: {
    50: '#ffe8a2',
    500: '#ffdf79',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf79;
$custom-light: #ffe8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf79",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 121
  },
  "hsl": {
    "h": 45.672,
    "s": 100,
    "l": 73.725
  },
  "oklch": {
    "l": 0.90989,
    "c": 0.12668,
    "h": 92.3
  },
  "luminance": 0.75416
}

Semantic roles & 50–950 ramp

primary
#FFDF79
secondary
#3F65DD
accent
#37E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FFDF79

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

Preview Lab → · Contrast checker → · Palette generator →

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