#FFDF77#FFDF77

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

Color values

HEX#FFDF77
RGBrgb(255, 223, 119)
HSLhsl(46, 100%, 73%)
HSVhsv(46, 53%, 100%)
CMYKcmyk(0%, 12.5%, 53.3%, 0%)
CIE-LABlab(89.57, -1.44, 54.44)
CIE-LCHlch(89.57, 54.46, 91.51°)
OKLaboklab(90.96% -0.0058 0.1284)
OKLCHoklch(90.96% 0.129 92.6)
XYZxyz(70.9602, 75.3706, 28.2594)
Luminance0.7537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF77 #7797FF
analogous
#FF9B77 #FFDF77 #DBFF77
triadic
#FFDF77 #77FFDF #DF77FF
tetradic
#FFDF77 #77FF9B #7797FF #FF77DB
square
#FFDF77 #77FF9B #7797FF #FF77DB
split-complementary
#FFDF77 #77DBFF #9B77FF
monochromatic
#FCC000 #FFD13A #FFDF77 #FFEDB4 #FFF8E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFDF77#FFFFFF#000000##000000
##FFDF771.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)
#F2DC6E
Deuteranopia (green-blind)
#FBE57B
Tritanopia (blue-blind)
#FFD1C7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ffdf77;
/* rgb */ color: rgb(255, 223, 119);
/* oklch */ color: oklch(91.0% 0.129 92.6);
Tailwind
colors: {
  custom: {
    50: '#ffe8a1',
    500: '#ffdf77',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf77;
$custom-light: #ffe8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf77",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 119
  },
  "hsl": {
    "h": 45.882,
    "s": 100,
    "l": 73.333
  },
  "oklch": {
    "l": 0.90964,
    "c": 0.12852,
    "h": 92.6
  },
  "luminance": 0.75367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFDF77

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

Preview Lab → · Contrast checker → · Palette generator →

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