#FFDF78#FFDF78

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

Color values

HEX#FFDF78
RGBrgb(255, 223, 120)
HSLhsl(46, 100%, 74%)
HSVhsv(46, 53%, 100%)
CMYKcmyk(0%, 12.5%, 52.9%, 0%)
CIE-LABlab(89.58, -1.36, 53.98)
CIE-LCHlch(89.58, 54.00, 91.44°)
OKLaboklab(90.98% -0.0055 0.1275)
OKLCHoklch(90.98% 0.128 92.5)
XYZxyz(71.0205, 75.3947, 28.5774)
Luminance0.7539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF78 #7898FF
analogous
#FF9B78 #FFDF78 #DBFF78
triadic
#FFDF78 #78FFDF #DF78FF
tetradic
#FFDF78 #78FF9B #7898FF #FF78DB
square
#FFDF78 #78FF9B #7898FF #FF78DB
split-complementary
#FFDF78 #78DBFF #9B78FF
monochromatic
#FDC100 #FFD03B #FFDF78 #FFEEB5 #FFF8E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFDF78#FFFFFF#000000##000000
##FFDF781.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)
#F2DC6F
Deuteranopia (green-blind)
#FAE57C
Tritanopia (blue-blind)
#FFD1C7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ffdf78;
/* rgb */ color: rgb(255, 223, 120);
/* oklch */ color: oklch(91.0% 0.128 92.5);
Tailwind
colors: {
  custom: {
    50: '#ffe8a1',
    500: '#ffdf78',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf78;
$custom-light: #ffe8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf78",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 120
  },
  "hsl": {
    "h": 45.778,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.90976,
    "c": 0.12761,
    "h": 92.5
  },
  "luminance": 0.75391
}

Semantic roles & 50–950 ramp

primary
#FFDF78
secondary
#3E64DD
accent
#36E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FFDF78

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

Preview Lab → · Contrast checker → · Palette generator →

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