#FFDF76#FFDF76

#FFDF76 is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 91.0% C 0.129 H 92.7°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#FFDF76
RGBrgb(255, 223, 118)
HSLhsl(46, 100%, 73%)
HSVhsv(46, 54%, 100%)
CMYKcmyk(0%, 12.5%, 53.7%, 0%)
CIE-LABlab(89.56, -1.52, 54.89)
CIE-LCHlch(89.56, 54.91, 91.58°)
OKLaboklab(90.95% -0.0062 0.1293)
OKLCHoklch(90.95% 0.129 92.7)
XYZxyz(70.9004, 75.3467, 27.9448)
Luminance0.7534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF76 #7696FF
analogous
#FF9A76 #FFDF76 #DBFF76
triadic
#FFDF76 #76FFDF #DF76FF
tetradic
#FFDF76 #76FF9A #7696FF #FF76DB
square
#FFDF76 #76FF9A #7696FF #FF76DB
split-complementary
#FFDF76 #76DBFF #9A76FF
monochromatic
#FBC000 #FFD139 #FFDF76 #FFEDB3 #FFF8E0

Accessibility & contrast

On white

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

On black

16.07
#FFDF76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF76
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF76#FFFFFF#000000##000000
##FFDF761.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffdf76;
/* rgb */ color: rgb(255, 223, 118);
/* oklch */ color: oklch(91.0% 0.129 92.7);
Tailwind
colors: {
  custom: {
    50: '#ffe8a0',
    500: '#ffdf76',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf76;
$custom-light: #ffe8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf76",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 118
  },
  "hsl": {
    "h": 45.985,
    "s": 100,
    "l": 73.137
  },
  "oklch": {
    "l": 0.90951,
    "c": 0.12944,
    "h": 92.7
  },
  "luminance": 0.75343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFDF76

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

Preview Lab → · Contrast checker → · Palette generator →

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