#F7E466#F7E466

#F7E466 is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 91.1% C 0.147 H 100.8°. Best body text is #000000 at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#F7E466
RGBrgb(247, 228, 102)
HSLhsl(52, 90%, 68%)
HSVhsv(52, 59%, 97%)
CMYKcmyk(0%, 7.7%, 58.7%, 3.1%)
CIE-LABlab(89.96, -8.45, 62.43)
CIE-LCHlch(89.96, 63.00, 97.70°)
OKLaboklab(91.06% -0.0275 0.144)
OKLCHoklch(91.06% 0.147 100.8)
XYZxyz(68.5020, 76.2230, 23.6720)
Luminance0.7622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E466 #6679F7
analogous
#F79B66 #F7E466 #C1F766
triadic
#F7E466 #66F7E4 #E466F7
tetradic
#F7E466 #66F79B #6679F7 #F766C1
square
#F7E466 #66F79B #6679F7 #F766C1
split-complementary
#F7E466 #66C1F7 #9B66F7
monochromatic
#D7BD0B #F4DA2C #F7E466 #FAEEA0 #FDF9DA

Accessibility & contrast

On white

1.29
#F7E466 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.24
#F7E466 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E466
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E466#FFFFFF#000000##000000
##F7E4661.001.2916.2416.24
#FFFFFF1.291.0021.0021.00
#00000016.2421.001.001.00
##00000016.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DE59
Deuteranopia (green-blind)
#FDE66C
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f7e466;
/* rgb */ color: rgb(247, 228, 102);
/* oklch */ color: oklch(91.1% 0.147 100.8);
Tailwind
colors: {
  custom: {
    50: '#fdec96',
    500: '#f7e466',
    950: '#000000',
  },
}
SCSS
$custom: #f7e466;
$custom-light: #fdec96;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e466",
  "rgb": {
    "r": 247,
    "g": 228,
    "b": 102
  },
  "hsl": {
    "h": 52.138,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.91058,
    "c": 0.14657,
    "h": 100.8
  },
  "luminance": 0.7622
}

Semantic roles & 50–950 ramp

primary
#F7E466
secondary
#3146D0
accent
#1EE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E466

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

Preview Lab → · Contrast checker → · Palette generator →

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