#FDF666#FDF666

#FDF666 is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.2% C 0.163 H 106.5°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#FDF666
RGBrgb(253, 246, 102)
HSLhsl(57, 97%, 70%)
HSVhsv(57, 60%, 99%)
CMYKcmyk(0%, 2.8%, 59.7%, 0.8%)
CIE-LABlab(95.06, -14.89, 68.18)
CIE-LCHlch(95.06, 69.79, 102.32°)
OKLaboklab(95.23% -0.0462 0.1561)
OKLCHoklch(95.23% 0.163 106.5)
XYZxyz(75.8646, 87.7559, 25.5101)
Luminance0.8775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF666 #666DFD
analogous
#FDAB66 #FDF666 #B8FD66
triadic
#FDF666 #66FDF6 #F666FD
tetradic
#FDF666 #66FDAB #666DFD #FD66B8
square
#FDF666 #66FDAB #666DFD #FD66B8
split-complementary
#FDF666 #66B8FD #AB66FD
monochromatic
#E6DB03 #FCF22A #FDF666 #FEFAA2 #FFFDDF

Accessibility & contrast

On white

1.13
#FDF666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.55
#FDF666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF666
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF666#FFFFFF#000000##000000
##FDF6661.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED55
Deuteranopia (green-blind)
#FFF46E
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fdf666;
/* rgb */ color: rgb(253, 246, 102);
/* oklch */ color: oklch(95.2% 0.163 106.5);
Tailwind
colors: {
  custom: {
    50: '#fff897',
    500: '#fdf666',
    950: '#000000',
  },
}
SCSS
$custom: #fdf666;
$custom-light: #fff897;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf666",
  "rgb": {
    "r": 253,
    "g": 246,
    "b": 102
  },
  "hsl": {
    "h": 57.219,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.95226,
    "c": 0.16277,
    "h": 106.5
  },
  "luminance": 0.87753
}

Semantic roles & 50–950 ramp

primary
#FDF666
secondary
#2F37D8
accent
#0BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF666

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

Preview Lab → · Contrast checker → · Palette generator →

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