#FFDF66#FFDF66

#FFDF66 is a very light, vivid yellow. Relative luminance 0.750; OKLCH L 90.8% C 0.143 H 94.6°. Best body text is #000000 at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#FFDF66
RGBrgb(255, 223, 102)
HSLhsl(47, 100%, 70%)
HSVhsv(47, 60%, 100%)
CMYKcmyk(0%, 12.5%, 60%, 0%)
CIE-LABlab(89.39, -2.68, 61.99)
CIE-LCHlch(89.39, 62.05, 92.48°)
OKLaboklab(90.77% -0.0114 0.1428)
OKLCHoklch(90.77% 0.143 94.6)
XYZxyz(70.0290, 74.9981, 23.3552)
Luminance0.7500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF66 #6686FF
analogous
#FF9366 #FFDF66 #D2FF66
triadic
#FFDF66 #66FFDF #DF66FF
tetradic
#FFDF66 #66FF93 #6686FF #FF66D2
square
#FFDF66 #66FF93 #6686FF #FF66D2
split-complementary
#FFDF66 #66D2FF #9366FF
monochromatic
#EBBA00 #FFD229 #FFDF66 #FFECA3 #FFF9E0

Accessibility & contrast

On white

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

On black

16.00
#FFDF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF66
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF66#FFFFFF#000000##000000
##FFDF661.001.3116.0016.00
#FFFFFF1.311.0021.0021.00
#00000016.0021.001.001.00
##00000016.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB59
Deuteranopia (green-blind)
#FCE56C
Tritanopia (blue-blind)
#FFD0C5
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ffdf66;
/* rgb */ color: rgb(255, 223, 102);
/* oklch */ color: oklch(90.8% 0.143 94.6);
Tailwind
colors: {
  custom: {
    50: '#ffe896',
    500: '#ffdf66',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf66;
$custom-light: #ffe896;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf66",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 102
  },
  "hsl": {
    "h": 47.451,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.9077,
    "c": 0.14329,
    "h": 94.6
  },
  "luminance": 0.74995
}

Semantic roles & 50–950 ramp

primary
#FFDF66
secondary
#2F53DA
accent
#30E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#19160E
muted
#87847F

Preview Lab

Preview with #FFDF66

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

Preview Lab → · Contrast checker → · Palette generator →

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