#F7D666#F7D666

#F7D666 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 88.3% C 0.136 H 93.0°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#F7D666
RGBrgb(247, 214, 102)
HSLhsl(46, 90%, 68%)
HSVhsv(46, 59%, 97%)
CMYKcmyk(0%, 13.4%, 58.7%, 3.1%)
CIE-LABlab(86.42, -1.39, 58.45)
CIE-LCHlch(86.42, 58.47, 91.36°)
OKLaboklab(88.25% -0.0072 0.1354)
OKLCHoklch(88.25% 0.136 93)
XYZxyz(64.8054, 68.8298, 22.4398)
Luminance0.6883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D666 #6687F7
analogous
#F78D66 #F7D666 #CFF766
triadic
#F7D666 #66F7D6 #D666F7
tetradic
#F7D666 #66F78D #6687F7 #F766CF
square
#F7D666 #66F78D #6687F7 #F766CF
split-complementary
#F7D666 #66CFF7 #8D66F7
monochromatic
#D7A90B #F4C62C #F7D666 #FAE6A0 #FDF5DA

Accessibility & contrast

On white

1.42
#F7D666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.77
#F7D666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D666
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D666#FFFFFF#000000##000000
##F7D6661.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD35B
Deuteranopia (green-blind)
#F2DC6B
Tritanopia (blue-blind)
#FFC7BD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f7d666;
/* rgb */ color: rgb(247, 214, 102);
/* oklch */ color: oklch(88.3% 0.136 93.0);
Tailwind
colors: {
  custom: {
    50: '#fde295',
    500: '#f7d666',
    950: '#000000',
  },
}
SCSS
$custom: #f7d666;
$custom-light: #fde295;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d666",
  "rgb": {
    "r": 247,
    "g": 214,
    "b": 102
  },
  "hsl": {
    "h": 46.345,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.88253,
    "c": 0.13563,
    "h": 93
  },
  "luminance": 0.68827
}

Semantic roles & 50–950 ramp

primary
#F7D666
secondary
#3155D0
accent
#34E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F7D666

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

Preview Lab → · Contrast checker → · Palette generator →

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